Kitty: Kitty doesn't remember position on macOS screen

Created on 3 Nov 2018  Â·  4Comments  Â·  Source: kovidgoyal/kitty

Hi, using Kitty 0.12.3 on macOS 10.14.1 and remember_window_size enabled, when Kitty first starts it does not remember its position on screen. As I also have draw_minimal_border enabled I have to drag edges to get the window where I want it. It would be nice if kitty could remember its position as well as its size on a restart.

Thanks for a great minimalist terminal!

Most helpful comment

Started experimenting with kitty recently and I'm amazed how light and fast it is. I know it's been a while since this issue was closed, I must agree with @iandol, it's a bit irritating to readjust the position and size of the window all the time or have a third party app only for managing kitty window 😞

All 4 comments

IMO window placement should be the responsibility of th eOS, not individual applications. For macOS I believe there are third party tools that allow you to save and restore window positions for individual applications, such as: https://www.macworld.com/article/2036191/mac-gems-stay-keeps-your-windows-exactly-where-you-want-them.html

@kovidgoyal — thanks for the reply, all other apps on macOS that I'm aware of do have their position remembered, I assume because they all use the OS API. I'm not a mac developer so cannot tell you how other apps do this, this was all I found, and it is part of the Cocoa frameworks:

https://developer.apple.com/documentation/appkit/nswindow/1526255-restorable
https://www.raywenderlich.com/613-windows-and-windowcontroller-tutorial-for-macos

Kitty's behaviour is currently different to most other apps, and yes this is a minor issue that can be worked around with 3rd party window managers.

The cocoa APIs are not really suitable, since kitty, being a terminal has special sizing requirements, its window size can either be remembered or depend on the font size, dpi and number of cells specified in its config. It's probably possible to make ethis work with cocoa api, but I'm afraid its too much work, at least for me. Patches are welcome.

Started experimenting with kitty recently and I'm amazed how light and fast it is. I know it's been a while since this issue was closed, I must agree with @iandol, it's a bit irritating to readjust the position and size of the window all the time or have a third party app only for managing kitty window 😞

Was this page helpful?
0 / 5 - 0 ratings

Related issues

bewzaalex picture bewzaalex  Â·  3Comments

Askannz picture Askannz  Â·  3Comments

metalelf0 picture metalelf0  Â·  4Comments

Ulrar picture Ulrar  Â·  3Comments

jasminabasurita picture jasminabasurita  Â·  3Comments