t3code icon indicating copy to clipboard operation
t3code copied to clipboard

[Bug]: browser zoom (ctrl+plus/minus) breaks file picker

Open Xyz3R opened this issue 4 months ago • 5 comments

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. start the app
  2. open the file picker from the main prompt using "@" plus a filename
  3. realize your eyes aren't as good as theos and font is too smol
  4. zoom in / out using ctrl + plus/minus. NOTE: SOME ZOOM LEVELS WORK. MOST DO NOT FOR ME.

Expected behavior

Content stays visible

Actual behavior

The content of the filepicker becomes invisible

Impact

Minor bug or occasional failure

Version or commit

main

Environment

linux, fedora 44

Logs or stack traces


Screenshots, recordings, or supporting files

recording_2026-07-31_08-51-47.mp4

Workaround

no using zoom i guess :(

Xyz3R avatar Jul 31 '26 07:07 Xyz3R

[!NOTE] This is an automated response from a bot acting on maria's behalf. This issue has had no activity since 2026-07-31. Is it still relevant on the current version? If so, your version and OS would help.

maria-rcks avatar Oct 09 '26 18:10 maria-rcks

@Xyz3R It seems that this bug has been fixed. Could you try again on the latest version and confirm whether the files now appear?

UtkarshUsername avatar Oct 26 '26 14:10 UtkarshUsername

I tried to reproduce this on current main (f08136d) and on the build from the report date (e259dd2). Both runs were on Linux, in the desktop app and on web, in light and dark themes. I opened the @ file menu from the new-thread composer and stepped Ctrl+= / Ctrl+- through every zoom level from 48% to 144%. The list rendered at every level.

In your recording the menu panel stays visible but its rows vanish. That points at GPU compositing, not the menu's layout. Three questions would narrow it down:

  1. Does it still happen on the latest release, and which version are you on?
  2. Are you on a Wayland or X11 session, and which GPU and driver?
  3. Does it still happen when you launch the app with --disable-gpu? And with --ozone-platform=x11?

juliusmarminge avatar Oct 27 '26 22:10 juliusmarminge

Yeah I am also having issues with other stuff related to gpu rendering. Feels like that is probably connected. Ever since I disable gpu acceleration things have just been working without this issue. I know there is another issue I opened about that which you worked on so feel free to close this for now. Very likely whatever fixes the other issue also fixes this.

Thanks for having a look anyway!

Also: yes this only happens with gpu acceleration on. I am on fedora 44 with Wayland + niri (dank material shell default setup mostly) with an AMD 7800xt

Xyz3R avatar Nov 03 '26 07:11 Xyz3R

Thanks for confirming. Closing as a duplicate of #7766, your sidebar report, which tracks the same failure.

The @ file menu's list renders inside the same faded scroll area (ScrollArea scrollFade in apps/web/src/components/ui/autocomplete.tsx) whose viewport mask-image is the cause identified in https://git.cafe/pingdotgg/t3code/issues/7766. In both, rows inside that viewport go invisible while the panel around them stays visible, only with GPU compositing on Linux/Wayland. Your setup (Fedora 44, Wayland + niri, AMD 7800 XT, fine with GPU acceleration off) matches the other reports there. No open PR changes that mask yet. A fix for https://git.cafe/pingdotgg/t3code/issues/7766 should cover this menu too, so follow that issue.

juliusmarminge avatar Nov 03 '26 07:11 juliusmarminge