t3code icon indicating copy to clipboard operation
t3code copied to clipboard

[Bug]: Message navigation minimap disappears when Surface keyboard is detached

Open nosabecom opened this issue 1 month ago • 1 comments

this is a minor annoyance, and it is completely fine if it does not get fixed. I am probably one of two users on a Surface Pro using T3 Code.

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/desktop

Steps to reproduce

  1. On a Surface Pro 11 running Windows 11, open the T3 Code desktop app with the Surface keyboard attached.
  2. Open a conversation with several user messages. Keep the window wide enough for the message navigation minimap (the small horizontal ticks immediately to the right of the sidebar).
  3. Detach the Surface keyboard without changing the window size.
  4. Reattach the keyboard.

Expected behavior

Message navigation should remain available when using the desktop app with touch and enough screen space. Detaching the keyboard should not remove the ability to jump to earlier messages.

Actual behavior

The minimap disappears when the keyboard is detached and reappears when it is reattached. The conversation and window remain open, and there is still room beside the messages.

I regularly use the Surface at my desk with the keyboard detached to save desk space, so this removes useful navigation during my normal workflow.

Impact

Minor bug or occasional failure

Version or commit

0.1.4-nightly.20261027.3783

Environment

  • Microsoft Surface Pro, 11th Edition, with detachable keyboard
  • Windows 11 Pro, build 26200
  • T3 Code Nightly desktop app

Logs or stack traces

No crash or error message; the navigation control is hidden.

Likely cause: TimelineMinimap.tsx applies hidden with [@media(pointer:fine)]:block. The same mouse-only visibility rule is present in the installed build. The observed change when attaching/detaching the keyboard is consistent with this media query changing as Windows switches its primary input.

Screenshots, recordings, or supporting files

Two screenshots show the same conversation with the keyboard attached (ticks visible) and detached (ticks absent). Image attachments will follow.

Workaround

Reattach the Surface keyboard. A per-session Developer Tools CSS override can also force [data-testid="timeline-minimap"] to remain displayed, but it is not a persistent setting and is lost on reload/restart.

nosabecom avatar Oct 27 '26 23:10 nosabecom

Thank you so much Shivham!!!!!!

nosabecom avatar Oct 30 '26 17:10 nosabecom