claude-code - 💡(How to fix) Fix [BUG] Desktop/Web app no longer remembers project directory between sessions [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#46199Fetched 2026-04-11 06:26:33
View on GitHub
Comments
1
Participants
2
Timeline
6
Reactions
0
Author
Timeline (top)
labeled ×4commented ×1cross-referenced ×1

Error Message

Error Messages/Logs

RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • I am using the latest version of Claude Code

What's Wrong?

When using the Claude Code desktop/web app (claude.ai/code), the app used to remember the last project directory and automatically open new sessions in that directory. Recently, it started asking to choose a project directory on every new session, even though the same project is always used.

Previously, after selecting a project once, all subsequent "New session" clicks would default to the same project. Now the user must re-select the directory every time.

What Should Happen?

The app should remember the most recently used project directory and default to it when opening a new session, as it did before. The user should not need to re-select the project directory every time.

Error Messages/Logs

Steps to Reproduce

  1. Open Claude Code desktop app (claude.ai/code)
  2. Click "New session"
  3. Select a project directory (e.g. C:\Users<user>\my-project)
  4. Work in that session normally
  5. Close the session
  6. Click "New session" again
  7. Expected: opens in the same project directory as step 3
  8. Actual: asks to choose a project directory again

This used to work — the app remembered the project directory across sessions without asking.

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

No response

Claude Code Version

2.1.87 (Claude Code)

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

Platform: Windows 10 Home (10.0.19045) Interface: Claude Code desktop app / claude.ai/code (web) Connection type: Local

This regression started recently. The app previously remembered the project directory reliably.

extent analysis

TL;DR

The most likely fix is to investigate and potentially reset the application's storage or configuration to restore the previous behavior of remembering the last project directory.

Guidance

  • Review the application's settings or configuration files to see if there's an option to reset or clear the stored project directory path.
  • Check if there are any updates or patches available for the Claude Code desktop app (version 2.1.87) that may address this regression.
  • Try resetting the application's cache or storage to see if it resolves the issue, as this may be causing the app to forget the previously selected project directory.
  • If using the web app (claude.ai/code), try clearing browser cookies and local storage to see if it makes a difference.

Example

No specific code snippet is applicable in this case, as the issue appears to be related to the application's configuration or storage.

Notes

The fact that this is a regression and the application previously worked as expected suggests that the issue may be related to a recent change or update. Without more information about the application's internal workings or access to its codebase, it's difficult to provide a more specific solution.

Recommendation

Apply workaround: Try resetting the application's storage or configuration to see if it resolves the issue, as this is a non-invasive step that may restore the previous behavior without requiring an update or code changes.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING