anthropics / anthropics/claude-code

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

Đang mở
#92,193 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
area:desktop area:ui bug platform:windows
Ngôn ngữ chính
Python
Star
145k
Fork
23.1k
Chỉ số merge pull request
Chỉ số pull request đang chờ

Mô tả

### 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_

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
python
Lĩnh vực
desktop
Loại issue
Lỗi
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Sôi nổi
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
55/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.