[Bug]: Regression: sidebar ⌘1–⌘9 jump hints stay stuck after Cmd+Tab away and back (macOS desktop 0.1.10)
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 78/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- react, typescript
Hướng nghiên cứu
Bắt đầu với apps/web/src/shortcutModifierState.ts và theo dõi cách mất tiêu điểm cửa sổ và keyup cập nhật trạng thái phím bổ trợ; sau đó kiểm tra createModifierHoldStore và useThreadJumpHintsVisible trong apps/web/src/components/Sidebar.logic.ts. Tái hiện bằng cách chuyển sang ứng dụng khác bằng Cmd+Tab rồi quay lại trên macOS, đồng thời xem xét bản sửa liên quan #8189. Hoàn tất khi các gợi ý ⌘N biến mất sau khi quay lại và nhả Cmd, kèm theo kiểm thử hồi quy tập trung.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Before submitting
- I searched existing issues and did not find a duplicate.
- I included enough detail to reproduce or investigate the problem.
Area
apps/web (seen in apps/desktop)
Regression
Yes. Holding Cmd and letting go used to always hide the sidebar's ⌘1–⌘9 thread jump hints. Since updating to 0.1.10 (desktop), switching apps with Cmd+Tab leaves the hints stuck on.
Steps to reproduce
- Open the T3 Code desktop app on macOS. Have a few threads in the sidebar.
- Hold Cmd. The ⌘1, ⌘2, … hints appear on the sidebar rows. Release Cmd and they hide. This part works.
- With T3 Code focused, press Cmd+Tab to switch to another app.
- Press Cmd+Tab again to come back to T3 Code, then release Cmd.
Expected behavior
The jump hints are hidden once Cmd is released, and the rows show their normal content (branch name, status).
Actual behavior
The sidebar stays in the "Cmd held" state. Every row keeps its ⌘N badge even though no key is pressed (see screenshot/recording).
Impact
Minor bug. The badges cover the normal row content until the stuck state clears.
Version or commit
T3 Code (Beta) 0.1.10, desktop
Environment
macOS 26.6, Apple Silicon, desktop app
Notes for investigation
- Modifier tracking lives in
apps/web/src/shortcutModifierState.ts. It resets on windowblur,paste, and keyup, so leaving the window should clear Meta. After a round trip through Cmd+Tab, it doesn't. - The hint visibility path was rewritten in #33129 (shipped in 0.1.9). It moved modifier state into a shared external store plus
createModifierHoldStore/useThreadJumpHintsVisibleinapps/web/src/components/Sidebar.logic.ts. That's a good place to look first, but I haven't confirmed it is the cause. - Related earlier fix for the same symptom from a different trigger: #8189 (hints stuck after a dictation paste).
- Ngôn ngữ chính
- TypeScript
- Star
- 24.8k
- Fork
- 6.4k
- Merge trung bình
- 4 giờ 46 phút
- Pull request đã merge (30 ngày)
- 488
Chuẩn bị môi trường
Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của pingdotgg/t3code
-
bug needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 73/100
Maintainer thường phản hồi trong vòng 1 ngày
-
[Bug]: Add provider can create a built-in driver's default instance, which has no delete actionCó thể đã có người làm @nateEc đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của pingdotgg/t3code
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
solidjs/solid-docs#1716 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Progress indicated by console logs is off by oneCó thể đã có người làm @marceliwac đã nhận hôm nay. Đang mởbug needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
aws-samples/aws-cdk-examples#1336 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
melgarafael/DeskcommCRM#4999 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
type: bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
db-ux-design-system/core-web#8856 ·
Maintainer thường phản hồi trong vòng 1 ngày