[BUG] : Folder picker in Code tab makes existing sessions look like they switched folders

Status Open
Reported on v2.1.281
Maintainer reply None cached
Activity 0 comments · opened Sep 28, 2026

Preflight Checklist

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

What's Wrong?

Steps:

  1. Open a new session in the Code tab and select Folder A.
  2. Open another new session and select Folder B.
  3. Go back to the first session.

Actual: The first session now appears to show Folder B. (Running pwd inside it confirms it still runs in Folder A, so only the UI is wrong.) If no message was sent yet in the first session, it really does switch to Folder B.

Expected: Eُach session should clearly show and keep its own folder. The folder picker should not affect other sessions, even ones that are still drafts.

Impact: Very confusing when working on several projects in parallel. It is easy to think a session is operating on the wrong folder.

Platform: Claude Desktop (Code tab), Linux/feedback

What Should Happen?

ُEُach session should clearly show and keep its own folder. The folder picker should not affect other sessions, even ones that are still drafts.

Error Messages/Logs

Steps to Reproduce

  1. Open Claude Desktop and go to the Code tab.
  2. Start a new session and select Folder A with the folder picker.
  3. Without sending a message, start another new session and select Folder B.
  4. Switch back to the first session.
  5. The first session now shows Folder B instead of Folder A.

Note: If a message was already sent in the first session, running pwd there still returns Folder A, so only the UI is wrong. If no message was sent yet (still a draft), the first session really does switch to Folder B.

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

2.1.281 (Claude Code, via Claude Desktop Code tab)

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

_No response_

View original on GitHub ↗