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

elextr notifications at xxxxx
Tue Nov 2 02:29:30 UTC 2021


> But the msgwin and sidebar don't.

"Position" of those panes seems to be the edit window side in both cases.  Geany just saves and restores the number `gtk_paned_get_position()` returns.

But the edit window size changes when maximised (see the change from 493 to 642 in your post on #2977), not something Geany does, it must be part of the GTK sizing algorithm when the window size changes. This changed position for the panes is saved in config on close and then restored on restart so the position that was set by Geany set is now different.  Note that max/unmax without closing the pane goes back to the original position, but since again AFAIK Geany does not do that, again it must be part of GTK sizing algorithm.

Thats harder to fix because it _should_ save the maximised position if closed when maximised, and that gets restored on restart and there is no record of the un-maximised position any more.

An unmaximised position needs to be saved separately for each pane, the unmax signal captured and the position changed after the unmax.  I don't think its worth it frankly.

-- 
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#issuecomment-957041812
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20211101/2d40454b/attachment-0001.htm>


More information about the Github-comments mailing list