<p></p>
<p dir="auto"><a class="user-mention" data-hovercard-type="user" data-hovercard-url="/users/ralf3u/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ralf3u">@ralf3u</a>  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 <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/geany/geany/commit/d8f2f14a16fe57fb1a98e767a2263846a0135431/hovercard" href="https://github.com/geany/geany/commit/d8f2f14a16fe57fb1a98e767a2263846a0135431"><tt>d8f2f14</tt></a>).  (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.</p>
<p dir="auto">One of the patches is <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1041839629" data-permission-text="Title is private" data-url="https://github.com/geany/geany/issues/2979" data-hovercard-type="pull_request" data-hovercard-url="/geany/geany/pull/2979/hovercard" href="https://github.com/geany/geany/pull/2979">#2979</a>, 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.</p>
<p dir="auto">What window manager are you using on each computer?</p>
<p dir="auto">Do you still this problem when you disable all Geany plugins?</p>
<p dir="auto">Do you still have this problem when you start Geany with a new config?</p>
<blockquote>
<pre>geometry=-1;-1;-1;-1;1;</pre>
</blockquote>
<p dir="auto">Those values represent xpos; ypos; width; size; maximized.  <code>-1;-1;-1;-1;0</code> 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.</p>
<p dir="auto">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 <em>expected</em> to <em>not</em> be saved.)</p>
<hr>
<p dir="auto">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.)</p>
<ol dir="auto">
<li>
<p dir="auto">start Geany, starts with the default size, not maximised</p>
</li>
<li>
<p dir="auto">maximise geany, close...</p>
<pre>treeview_position=165<br>msgwindow_position=399<br>geometry=350;150;900;600;1;</pre>
<p dir="auto">and reopen, sidebar has same width</p>
</li>
<li>
<p dir="auto">change sidebar width, close...</p>
<pre>treeview_position=336<br>msgwindow_position=399<br>geometry=350;150;900;600;1;</pre>
<p dir="auto">and reopen, sidebar retains new width</p>
</li>
<li>
<p dir="auto">unmaximise geany... sidebar is the same width in pixels not percent.</p>
</li>
<li>
<p dir="auto">close...</p>
<pre>treeview_position=336<br>msgwindow_position=399<br>geometry=350;150;900;600;0;</pre>
<p dir="auto">and reopen, sidebar retains the same width</p>
</li>
</ol>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/geany/geany/issues/3070#issuecomment-1002961404">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ57KSSYFP77G5AKGQDUTQWL5ANCNFSM5KZGN5LA">unsubscribe</a>.<br />Triage notifications on the go with GitHub Mobile for <a href="https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675">iOS</a> or <a href="https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub">Android</a>.
<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAIOWJZ2UE2P5K3PC4VBRXLUTQWL5A5CNFSM5KZGN5LKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOHPD7T7A.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><geany/geany/issues/3070/1002961404</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/issues/3070#issuecomment-1002961404",
"url": "https://github.com/geany/geany/issues/3070#issuecomment-1002961404",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>