[BUG] Claude Code Desktop App — Bug Report
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?
Claude Code Desktop App — Bug Report
Issue 1: Stuck/ghost folder tab
A folder called "job agent" (with a space) was created and then deleted, but it remains as a permanent tab in the Claude Code desktop app. It cannot be removed, replaced, or made inactive. Every time the app is reopened, it defaults back to this broken tab and throws the error: "Working directory no longer exists: /Users/meaghanstertzer/Desktop/job agent."
Issue 2: New folder tabs are unclickable
When adding a new folder (e.g. "job-agent") via the blue folder icon, a new tab appears but cannot be selected or made active. Clicking it does nothing, so it's impossible to switch away from the broken tab.
Issue 3: Error persists across restarts
Fully quitting and relaunching the app does not resolve either issue. The broken tab reappears every time.
Workaround used: Had to install Claude Code CLI via Terminal (npm install -g @anthropic-ai/claude-code) and run sessions from Terminal instead.
Mac: MacBook Neo, macOS (version unknown)
App version: Claude Code v2.1.152
What Should Happen?
When a working directory linked to a Claude Code session is deleted or renamed, the corresponding tab should either automatically remove itself or display an option to disconnect/remove the broken session. Users should be able to manually close or delete any tab from the Claude Code desktop app interface. Additionally, newly added folder tabs should be immediately selectable and usable as the active working directory.
Error Messages/Logs
Steps to Reproduce
Open the Claude Code desktop app
Create a new session by connecting a local folder (e.g. a folder named "job agent" on the Desktop)
Rename or delete that folder in Finder
Reopen the Claude Code desktop app
Observe that the deleted folder still appears as a tab and is set as the active working directory
Try to remove or close the broken tab — there is no option to do so
Click the blue folder icon to add a new working directory folder
Observe that the new tab appears but cannot be clicked or made active
Try sending a message — the error appears: "Working directory no longer exists: /Users/[username]/Desktop/job agent"
Fully quit and relaunch the app — the broken tab reappears every time
Claude Model
None
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
Claude Code v2.1.152
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
_No response_
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗