anthropics / anthropics/claude-code

[BUG] Session breadcrumb shows stale project name from first-ever session

未关闭
#92,193 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
area:desktop area:ui bug platform:windows
主要语言
Python
星标
145k
派生
23.1k
PR 合并指标
PR 指标待抓取

描述

### Preflight Checklist

- [x] I have searched [existing issues](https://github.com/anthropics/claude-code/issues?q=is%3Aissue%20state%3Aopen%20label%3Abug) 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?

The session breadcrumb/title bar in Claude Code Desktop permanently shows the name of the first project folder ever opened, regardless of which project is subsequently selected.

### What Should Happen?

The breadcrumb should update to reflect the currently active project folder.

### Error Messages/Logs

```shell

```

### Steps to Reproduce

1. Open Claude Code Desktop and select any project folder for the first time
2. Close the app
3. Reopen and select a different project folder
4. Observe: the breadcrumb at the top still shows the original folder name from step 1

### Claude Model

None

### Is this a regression?

No, this never worked

### Last Working Version

_No response_

### Claude Code Version

2.1.260 (Claude Code)

### Platform

Anthropic API

### Operating System

Windows

### Terminal/Shell

PowerShell

### Additional Information

_No response_

贡献指南

这个仓库没有索引到贡献指南

调研方向

Reproduce the stale breadcrumb in Claude Code Desktop by opening one project, closing the app, reopening it, and selecting another project on Windows. Trace the session-selection and breadcrumb/title-bar entry points, then add coverage for switching projects across app restarts. Done means the breadcrumb consistently shows the currently active project folder.

由索引模型根据 Issue 内容生成。

评估

技术栈
python
领域
desktop
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
活跃
描述清晰度
基本清楚
新手友好度
55/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。