Sublime Forum

[macOS] Remember unzoomed (normal) window size

#1

Hi, since ST is actively under development, I want to ask to include a simple fix for macOS users.

On macOS Sublime Text is not distinguishing between zoomed (maximized) and unzoomed (normal) window state and size. So when user zooms (maximizes) window, ST does no longer remember normal (unzoomed) window size, and when reopen, unzooming is no longer possible as zoomed size == unzoomed size.

There is a simple fix for that I have included some while ago into Text Mate, simply check self.window.isZoomed and store size only if it is false, otherwise store flag, so window is restored maximized when it was previously, but normal window size is persisted:

It would be great if we could have such a fix included in Sublime too.
Cheers,
Adam

0 Likes

#2

Ugh sorry for the noise, I forgot about Sublime issue tracker. Moving the discussion here: https://github.com/SublimeTextIssues/Core/issues/1818

1 Like