terminal-code icon indicating copy to clipboard operation
terminal-code copied to clipboard

The window is scaled up too much, which is abnormal

Open jrt324 opened this issue 3 months ago • 6 comments

Ubuntu 24.04 Ghostty 1.3.1 Dual-monitor display :

  • 1920x1080 scale 1,
  • 3840x2160 at scale 1.5
Image

jrt324 avatar Aug 20 '26 05:08 jrt324

Also trackpad click does not really work.

sudo-nan0-RaySK avatar Aug 20 '26 12:08 sudo-nan0-RaySK

i have the opposite issue!

Image

anthony-somerset-cko avatar Sep 22 '26 07:09 anthony-somerset-cko

Same issues also on the opposite.. scaling would be nice if we can control it

cloudant42 avatar Sep 23 '26 11:09 cloudant42

mine is just random, sometimes scaled up sometimes scaled down, have to keep restarting until it's normal

andycjw avatar Nov 21 '26 04:11 andycjw

@zenbu-bot

RobPruzan avatar Nov 21 '26 17:11 RobPruzan

Window content scale is wrong on Ubuntu 24.04 with mixed-scale dual monitors

Problem

On Ubuntu 24.04 with Ghostty 1.3.1 and two monitors (1920x1080 at scale 1, 3840x2160 at scale 1.5), the tode window content is drawn too large. Other users report the content drawn too small, or a different size on each launch.

Steps to reproduce

  1. Read src/app/daemon.ts and the @zenbu-labs/pixel 0.3.2 dependency to find where the display scale is chosen.
  2. Found hostDisplayScale() in node_modules/@zenbu-labs/pixel/dist/scale.js, called once in dist/root.js line 211.
  3. Did not run tode: the sandbox is a Docker Linux container with no monitors, no Ghostty and no Electron display.

Expected

The tode window content matches the scale of the monitor that shows the Ghostty window, on every launch.

Actual

The content is too large for one user and too small for others, and for one user the size changes between launches.

Evidence

Not reproduced. The bug needs Ghostty and two monitors with different scale factors, and this Docker sandbox has no display.

Extra information
Job 44932193922-1
Handler issue.enhance
Classification bug
Sandbox docker · linux
Log GitHub Actions run

zenbu-bot[bot] avatar Nov 21 '26 17:11 zenbu-bot[bot]