[Github-comments] [geany/geany] After restarting Geany in a maximized state, when unmaximizing, window is the wrong size (Issue #2976)

xiota notifications at xxxxx
Mon Nov 1 15:01:49 UTC 2021


Geany built from git.  GTK+ v3.24.30, GLib v2.68.4.

Steps to reproduce:

1. Geany in normal window mode.  Close.  Reopen.  Window is restored to previous size.  (as expected)
2. Toggle between maximized and normal states.  Normal window size does not change.  (as expected)
3. Maximize Geany. Close.  Reopen.  Window is restored to maximized state. (as expected)
4. Toggle to normal state.  Window is shorter than previously (on KDE Plasma).  Expected is for the previous size of the normal state to be restored. 

Notes:
* This occurs regardless of whether the message window and sidebar are visible.
* The behavior described occurs on KDE plasma with 2x display scaling enabled.  On XFCE with no display scaling, the window is larger than expected.
* Potential solution: The geometry setting appears to have a flag to indicate the maximized state.  There is no need to change the width/height when the window is maximized.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2976
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20211101/bc9fcb81/attachment.htm>


More information about the Github-comments mailing list