-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not always starting with maximized window Mac OS #6021
Comments
The window is always fully max when I change this setting to
Ideally, I would like to keep the rounded window borders only to keep it consistent with other applications. |
The OS window needs to be resized again after hiding the title bar to try to reach the remembered window size. Until launch adds more fine-grained controls, you can use kitty -o 'map f1 combine : launch --type os-window : toggle_maximized' https://sw.kovidgoyal.net/kitty/actions/#action-toggle_maximized |
Yes thank you that is my current workaround
But this is not ideal because of the window "zoom" animation 😄 |
Reducing the time might make you feel better, though still not maximizing the window before it shows up. defaults write net.kovidgoyal.kitty NSWindowResizeTime -float 0.001 |
Thank you I appreciate it |
What is interesting to me is the fact that when launching the first instance via the GUI the window is fully maximized even with this setting
I was hoping that changing this setting I also tried setting the window sizes ( with pixels or columns). Even when setting the height to a larger value than is available on my screen, the window height is always missing the title bar's height ( the same as you can see in my recordings above ). Would be great if there could be a configuration in the config similar to this
and or
|
This is a limitation of macOS' window manager. Nothing kitty can do to fix it, other than adding hacks to try to workaround the broken sizing from the window manager or actually adding controls for os window state to launch. I dont mind adding those controls but I am not particularly motivated to do so personally, patches are welcome. |
This issue has been fixed in master, and you can enjoy your rounded borders without
This one has also been improved, no more "zoom" animations, only when using |
Describe the bug
I am trying to always launch with a maximized window.
When launching Kitty from the Dock for the first time the window is maximized.
The problem is when I launch another window with keyboard shortcuts
or from the Dock with right click "new OS Window".
The issue is related to the
hide_window_decorations
set totitlebar-only
when set tono
the window is always fully maximized.It appears that the removed titlebar is not considered when trying to fully maximize the window - see screen recording.
Running
kitty --start-as maximized
always opens the window fully maximized.How can we open a new window via
new_os_window
andnew_os_window_with_cwd
fully maximized too?Screenshots
Launching a second new window via
map cmd+n new_os_window
Screen.Recording.2023-02-14.at.14.18.36.mov
Environment details
Additional context
The text was updated successfully, but these errors were encountered: