too many quirks in window dimensions #10771
Unanswered
mcandre
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
ghostty breaks (mac)OS conventions for GUI window dimensions.
Expected Behavior
window-height,window-width. For fresh launches. For new windows. For relaunches. Only alter the dimensions in the event that the user resizes/tiles the window.window-save-state = alwaysshould trigger some kind of disk persistence, every single time live window location and/or dimensions change.window-save-state = always.Actual Behavior
window-heightandwindow-widthon macOS.window-height,window-width, andwindow-save-state = always.window-save-state = alwaysforces the current working directory to persist across relaunches. While some users may prefer that behavior, we should provide a separate setting so that cwd preservation withwindow-save-state = alwayscan operate independently.quit-after-last-window-closed = trueis in effect. I was hoping that one would act as a workaround to how ghostty forgets persisted dimensions on save when the last window is closed prior to quitting... but it actually makes the problem even worse.These quirks are not fun, and it's too bad, because every single macOS terminal emulator has just as many nasty quirks like that.
Would be helpful to add options like
window-location: top-right,window-height: full,window-width: 50%, to assist with tiling centric workflows.Reproduction Steps
Repeatedly launch, place ghostty windows, create new windows, and relaunch.
Use ordinary cursor window resizing and moving.
Use native macOS tiling.
Use Rectangle tiling.
Ghostty Logs
No response
Ghostty Version
OS Version Information
macOS Tahoe
(Linux only) Display Server
None
(Linux only) Desktop Environment/Window Manager
No response
Minimal Ghostty Configuration
Additional Relevant Configuration
No response
I acknowledge that:
```) on separate lines.Beta Was this translation helpful? Give feedback.
All reactions