t3code icon indicating copy to clipboard operation
t3code copied to clipboard

[Bug]: Content clipped on right edge when tiled below 840px again — #19232 fix was reverted by #22222 (Linux/Hyprland)

Open fionn77 opened this issue 1 month ago • 1 comments

Before submitting

  • [x] I searched existing issues and did not find a duplicate. (This is a regression of closed #8849 / #12780.)
  • [x] I included enough detail to reproduce or investigate the problem.

Area

apps/desktop

Summary

Regression of #8849 / #12780. The fix in #19232 (drop the desktop window minWidth from 840 to 600) was merged on 2026-10-20 and reverted a few hours later in #22222 ("revert: fourteen unverified desktop fixes from the takeover campaign"). apps/desktop/src/window/DesktopWindow.ts on main is back to minWidth: 840, and released builds still clip content when the window is tiled narrower than 840 logical px.

The maintainer close note on #8849 asked for a reopen if clipping is still visible on a build that includes #19232. Because the fix has since been reverted, no current build includes it.

Steps to reproduce

  1. Run the T3 Code desktop app on Hyprland (native Wayland) with a 1920×1080 display at scale 1.2, which is 1600 logical px wide.
  2. Tile T3 Code in a 50/50 split with another window. T3 Code gets about 790 px.
  3. Look at the chat and composer.

Expected behavior

The layout reflows to fit the window the compositor allocates.

Actual behavior

The renderer keeps an 840 px viewport, and Hyprland crops the overflow (misc:size_limits_tiled = false is the default). Chat text is cut off mid-glyph on the right edge, and the composer and send button are partly hidden.

This doesn't show up on my Windows and macOS machines. The window manager there either honors the minimum width or gives the window more room, so the window is never actually allocated less than 840 px. The bug only appears when a tiling compositor forces a tiled size below the native minimum.

Version or commit

  • t3code-bin 0.1.5-1 (AUR). app.asar contains minWidth: 840
  • Still minWidth: 840 on main as of 61b535e919 (2026-10-31)

Environment

  • Omarchy (Arch Linux), Hyprland 0.56.2, native Wayland
  • 1920×1080 @ scale 1.2

Workaround

Zoom out (Ctrl+-) or give the window more than 840 logical px.

Suggested fix

Re-land #19232, or an equivalent change, with the verification that #22222 required. #13125 / #12859 also address this.

fionn77 avatar Oct 31 '26 15:10 fionn77

Thanks for the clear report. #28223 lowers the desktop minimum to 400×360, covering the reported 790 px tile, in ccde655b8f. If clipping persists on a build containing that fix, please open a new report with the details.

juliusmarminge avatar Nov 09 '26 12:11 juliusmarminge