<p></p>
<p>Not sure what you mean?</p>
<p>Let me try a sequence that shows the two options I understand:</p>
<ol>
<li>Geany opened unmaximised, pane position P1 is read from the config file and set</li>
<li>Geany is maximised, GTK resizes the edit pane and calculates a new pane position so the message window stays the same size, P2</li>
<li>Geany is unmaximised, GTK resizes the edit pane and calculates a new pane position so the message window stays the same size, P3 (==P1)</li>
<li>Geany is maximised, GTK resizes the edit pane and calculates a new pane position so the message window stays the same size, P4 (==P2)</li>
<li>Geany is closed, option a (current behaviour): save P4, option b (possible alternative): save P1 originally read and stashed in a variable</li>
</ol>
<p>Option a (current behaviour) :</p>
<ol start="6">
<li>Geany is opened and maximises, P4 is loaded from the config file and set, Geany is restored as it last was [chirping birds of happyness]</li>
<li>Geany is unmaximised, GTK only knows about P4 (Geany set it at step 6) so it uses that and the size of the message window changes [expletive deleted]</li>
</ol>
<p>Option b (possible alternative):</p>
<ol start="6">
<li>Geany is opened and maximises, P1 is loaded from the config file and set, the message window has changed size [expletive deleted]</li>
<li>Geany is unmaximised, GTK only knows about P1 set at step 6, so the message window returns to the original size [possibly chirping birds of happiness, or expletive deleted its changed AGAIN!!!]</li>
</ol>
<p>Note how the two options mirror each other, one works maximised, the other works unmaximised.</p>
<p>Can you explain your option c.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany/issues/2976#issuecomment-957072067">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ3PM6HNMAV6YEBNRTTUJ5MG5ANCNFSM5HEHLOJQ">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>.
<img src="https://github.com/notifications/beacon/AAIOWJ4M74D4ESP3UMUZYWLUJ5MG5A5CNFSM5HEHLOJ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOHEF4FQY.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/issues/2976#issuecomment-957072067",
"url": "https://github.com/geany/geany/issues/2976#issuecomment-957072067",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>