You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: Regression: sidebar ⌘1–⌘9 jump hints stay stuck after Cmd+Tab away and back (macOS desktop 0.1.10) #38462
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 window blur, 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 fix(web): opening the terminal with Cmd+J no longer re-renders the whole sidebar #33129 (shipped in 0.1.9). It moved modifier state into a shared external store plus createModifierHoldStore / useThreadJumpHintsVisible in apps/web/src/components/Sidebar.logic.ts. That's a good place to look first, but I haven't confirmed it is the cause.
I haven't found the cause yet. The shared modifier code resets on window blur, so a Cmd+Tab away should clear it. The hints stay on only if a Command keyup never reaches the page after the return, and I can't see that from the code or from a Linux machine.
Could you tell us what the page receives during one stuck round trip? In the 0.1.10 desktop app, open DevTools (Cmd+Option+I), paste this into the Console, then repeat your steps:
Please paste the lines logged from the Cmd+Tab away until you release Cmd on return. Also tell us whether the badges clear after you press and release a plain key such as A, or after you move the mouse.
moving the mouse or clicking the ui doesn’t clear the badges
changing the current thread from the side menu also doesn't clear the badges
tapping a plain key like a/b/c or TAB clears the badges
Output from the t3 console
just to make sure the keypress sequence is clear, with the start state being 't3 code app is currently selected/focused':
press and hold CMD
tap TAB <- at this point the carousel of all opened apps is shown with the selection moving to the first app after the currently selected app (in this case t3code)
tap left arrow to move the selection back to t3 code
Activity
dragosMC91 commentedon Nov 18, 2026
a video for reproducing the issue:
Screen.Recording.2026-11-18.at.08.19.37.mov
shivamhwp commentedon Nov 18, 2026
I haven't found the cause yet. The shared modifier code resets on window
blur, so a Cmd+Tab away should clear it. The hints stay on only if a Commandkeyupnever reaches the page after the return, and I can't see that from the code or from a Linux machine.Could you tell us what the page receives during one stuck round trip? In the 0.1.10 desktop app, open DevTools (Cmd+Option+I), paste this into the Console, then repeat your steps:
Please paste the lines logged from the Cmd+Tab away until you release Cmd on return. Also tell us whether the badges clear after you press and release a plain key such as A, or after you move the mouse.
dragosMC91 commentedon Nov 18, 2026
@shivamhwp
On clearing badges:
Output from the t3 console
just to make sure the keypress sequence is clear, with the start state being 't3 code app is currently selected/focused':