<p></p>
<p>Yes, Geany is totally non-reentrant, thats why all dialogs are blocking, to stop users doing other things while they are open.  IIRC used to cause intermittent reports from KDE because the dialogs didn't block there.</p>
<p>Because the dialogs are blocking probably the socket operations are the only things that can cause reentrancy (well all I can think of just now :).  There is the potential for issues to happen anywhere Geany returns to mainloop while an operation is in progress, not just save as.</p>
<p>At least for save-as it might be fixed by getting the document to be saved before opening the save-as dialog so changing the current document won't affect which one gets saved.</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/2599#issuecomment-700339035">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJYX7BN4TH6JSLXZ5CTSIENF7ANCNFSM4R4XZXVQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAIOWJ4ETUCX3OBFSRGM5GTSIENF7A5CNFSM4R4XZXV2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOFG7FGWY.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/2599#issuecomment-700339035",
"url": "https://github.com/geany/geany/issues/2599#issuecomment-700339035",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>