<p></p>
<blockquote>
<p>but it looked just as the normal GTK3 file chooser dialog, so obviously I did it wrong.</p>
</blockquote>
<p>Possibly cross building is confusing it?  Or possibly msys2 isn't built with the native dialogs? Or I don't have a clue what I'm talking about (probably number 3).</p>
<blockquote>
<p>It might be better to remove the Windows native dialogs altogether instead of trying to fix their bad integration.</p>
</blockquote>
<p>Certainly calling them directly without any integration with the GTK mainloop is always likely to cause issues, the mainloop can still run and callback Geany code while its waiting for the dialog, which is dangerous because Geany isn't written to permit that.</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/1942#issuecomment-917599015">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ74UVTQJ3QUWLCU3MTUBRWWFANCNFSM4FSZ7VSA">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/AAIOWJ6B6JWSNRUBDMRYFWTUBRWWFA5CNFSM4FSZ7VSKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOG2YXGJY.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/1942#issuecomment-917599015",
"url": "https://github.com/geany/geany/issues/1942#issuecomment-917599015",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>