Ghostty Window Ignores Requested Geometry When Moving Between Monitors With Different Logical Resolutions #9421
Unanswered
UnsaltedScholar
asked this question in
Issue Triage
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Issue Description
I have two monitors: my primary display (3840x2160 with 200% scale) and an external monitor (4096x2160 set to 2560x1440 with 175% scale).
If I create a ghostty window on the external monitor then move it to my primary display, the window does not obey the window size set by kwin (and additionally with the Krohnkite dynamic tiling script for KDE) and does not take the dimensions as it is "told" to.
However, if I instead create the ghostty window on my primary display, I can move it back and forth between displays without this issue occuring.
This issue is not apparent on other terminals I have tested (i.e. konsole and kitty). Additionally, if I set my external display's scale to 133% (such the windows match/have same logical resolution), this issue does not occur.
Expected Behavior
Ghostty should behave like the other terminals and obey geometry restrictions/requests regardless of the display it is opened on.
Actual Behavior
Behavior if displays are "unmatched":
https://github.com/user-attachments/assets/e565cfaa-fd6b-486c-9616-552c1924715a
As can be seen, the geometry is only broken when the window is created on the external display (the top window in the video).
Behavior if displays are "matched":
https://github.com/user-attachments/assets/7a7010dc-eddc-4eab-b275-4b2b988574cd
No issue.
Reproduction Steps
Ghostty Logs
Ghostty Version
OS Version Information
CachyOS Linux (kernel: 6.17.5-2-cachyos)
(Linux only) Display Server
Wayland
(Linux only) Desktop Environment/Window Manager
KDE Plasma 6.5.1
Minimal Ghostty Configuration
Additional Relevant Configuration
I am using the dynamic tiling KWin script Krohnkite (anametologin's fork, master branch). The issue remains even when the script is disabled, but it is more obvious when it is enabled.
I acknowledge that:
```) on separate lines.Beta Was this translation helpful? Give feedback.
All reactions