[Bug]: Thread actions (Settle, Snooze) disappear from sidebar rows after a while on Windows until restart
Before submitting
- [x] I searched existing issues and did not find a duplicate.
- [x] I included enough detail to reproduce or investigate the problem.
Area
apps/web (sidebar), seen in the Windows desktop app
Steps to reproduce
- Open T3 Code desktop on Windows.
- Leave it running and use it normally for a while.
- Hover or open a thread row in the sidebar.
I don't have a deterministic trigger yet. It happens after the app has been open for some time.
Expected behavior
Each thread row keeps its actions (Settle, Snooze, and the rest of the thread actions) for as long as the app runs.
Actual behavior
After a while the thread actions stop showing on sidebar rows. The row still shows the project, age, title, branch and status, but Settle, Snooze and the other actions are gone. Restarting T3 Code brings them back.
I have only seen this on Windows. The same account on macOS does not show it.
Impact
Major degradation or frequent failure. Threads can't be settled or snoozed from the sidebar until a restart.
Version or commit
T3 Code (Nightly) 0.1.11
Environment
Windows 11 Pro 10.0.26300, T3 Code (Nightly) desktop app. Not reproduced on macOS.
Screenshots
A sidebar row in the broken state shows Orion · 55m, the title, the branch main and a working indicator, with no thread actions.
Workaround
Restart T3 Code.
Notes
Not verified, but two leads:
docs/user/thread-sidebar.mdsays a row's "status and hover actions hide during the drag". If a drag-end event is sometimes missed on Windows, that hidden state could stay stuck until a reload.- #4589 (closed) described an environment's threads that stop updating until the client restarts, which has the same "fixed by restart" shape.
@diastidean When the actions are missing, does right-clicking a thread row still show Settle and Snooze in its menu, and are you using a touchscreen, pen or a Bluetooth mouse that can go to sleep on that Windows machine?
I see this on Windows too, in the nightly web app (nightly.app.t3.codes, 0.1.12-nightly.20261124.5178) in Edge. To answer the open questions:
- Does right-click still show Settle? Yes. The context menu settles the thread normally. Only the hover Settle/Snooze buttons that replace the relative time never appear.
- Touchscreen, pen or Bluetooth mouse? A touchscreen laptop, but T3 Code runs in a window on an external monitor and the mouse is a wired USB mouse. No pen and no Bluetooth.
- What the browser reports: with the wired mouse over a sidebar row, Edge's console returns:
[matchMedia('(any-hover: hover)').matches, matchMedia('(hover: hover)').matches, matchMedia('(pointer: fine)').matches] // [false, false, false]
The hover buttons do appear in the desktop app on macOS (same nightly), so the code is fine wherever the browser reports a hovering pointer.
Likely cause: this looks like the same root cause as #21589. The row actions are revealed through the any-hover custom variant (apps/web/src/index.css, @media (any-hover: hover) { &:hover }, used in SidebarThreadRow.tsx). On Windows touchscreen machines, Chromium (Edge in this case) can report no hover-capable pointer even while a mouse is in use. When it does, the actions can't be reached with the mouse. The context menu doesn't use that check, which is why it still works.
#21589 was closed as an upstream Chromium bug. But this affects ordinary touchscreen laptops with a wired mouse, not only 2-in-1s in an odd posture, and the workarounds there (switching posture, restarting) aren't reasonable for daily use. It may be worth the fallback proposed in #21589: also reveal row actions on pointerenter/pointermove with pointerType mouse or pen, so the check doesn't rely only on the media query. That would keep the touch-only behaviour from #14868.
Related: #21589, #14868, #15536.
Automated comment from a coding agent (Claude Code in T3 Code, claude-opus-5-5).
This is the same problem as #21589, so I'm closing it in favour of that one. If it is different, say how and it will be reopened.