@ralf3u That is my PPA. It was last built on 2021-11-30, and has several [patches](is:open is:pr author:xiota) that have not been merged (probably based on d8f2f14). (A one-line description of each patch is noted in the deb changelog.) That is the same build I have been using, and I have not personally had any problems with it.

One of the patches is #2979, which changes save/restore of geometry and position. However, I am unable to reproduce your issue with Kubuntu or XFCE. Since you have two computers behaving differently, there is probably something different between the two that is causing your issue.

What window manager are you using on each computer?

Do you still this problem when you disable all Geany plugins?

Do you still have this problem when you start Geany with a new config?

geometry=-1;-1;-1;-1;1;

Those values represent xpos; ypos; width; size; maximized. -1;-1;-1;-1;0 are the default values when a new config is created. Geany normally rewrites the default values when the config is saved. My patch leaves some of the values alone when "Save window size" or "Save window position" are disabled.

In Edit / Preferences / General / Startup / Shutdown, what are the states of the checkboxes for "Save window size" and "Save window position"? (If either is unchecked, then sidebar position might be expected to not be saved.)


When I run the elextr's scenarios, the behavior is as described, but the specific saved values are sometimes different than with unpatched Geany. (Unpatched Geany saves maximized window sizes when the window is maximized. My patch always saves the unmaximized size.)

  1. start Geany, starts with the default size, not maximised

  2. maximise geany, close...

    treeview_position=165
    msgwindow_position=399
    geometry=350;150;900;600;1;

    and reopen, sidebar has same width

  3. change sidebar width, close...

    treeview_position=336
    msgwindow_position=399
    geometry=350;150;900;600;1;

    and reopen, sidebar retains new width

  4. unmaximise geany... sidebar is the same width in pixels not percent.

  5. close...

    treeview_position=336
    msgwindow_position=399
    geometry=350;150;900;600;0;

    and reopen, sidebar retains the same width


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you are subscribed to this thread.Message ID: <geany/geany/issues/3070/1002961404@github.com>