<p></p>
<p dir="auto">Hi,<br>
I have experienced troubles with popups in last version of Geany on Wayland. The context menu never shows and this message is printed to stdout:</p>
<pre><code>Gdk-Message: 07:03:47.840: Window 0x55a9f5030360 is a temporary window without parent, application will not be able to position it on screen.
(geany:1327711): Gdk-CRITICAL **: 07:03:47.846: gdk_wayland_window_handle_configure_popup: assertion 'impl->transient_for' failed
</code></pre>
<p dir="auto">Also, the code-completion popups never show. Interestingly, when trying to invoke code-completion, no error is logged. So it might or might not be a different issue.</p>
<p dir="auto"><strong>Steps to reproduce:</strong></p>
<ol dir="auto">
<li>Open Geany on wayland (I'm using sway on Arch Linux, not sure if it works in other WMs/distros)</li>
<li>Right click in the editor</li>
<li>Nothing happens. No context menu is shown, only message appears on the stdout...</li>
</ol>
<p dir="auto"><strong>Versions</strong></p>
<pre><code>$ geany --version
geany 1.38 (built on 2021-10-09 with GTK 3.24.30, GLib 2.70.0)
</code></pre>
<pre><code>$ pacman -Q geany gtk3 wayland wayland-protocols 
geany 1.38-1
gtk3 1:3.24.30+90+g20be04f7ac-1
wayland 1.19.0-2
wayland-protocols 1.23-1
</code></pre>
<p dir="auto"><strong>Additional info</strong></p>
<p dir="auto">I have tested the same with SciTE (Version 5.1.5   Scintilla:5.1.4   Lexilla:5.1.3 compiled for GTK:3.24.30) and it shows context menu just fine, so it is probably not Scintilla bug.</p>
<p dir="auto">I have also tried with current master (<a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/geany/geany/commit/5d4e7cfd5b12647b4cab9bda7278abd7f63e9c2f/hovercard" href="https://github.com/geany/geany/commit/5d4e7cfd5b12647b4cab9bda7278abd7f63e9c2f"><tt>5d4e7cf</tt></a>) in hope that <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1022616379" data-permission-text="Title is private" data-url="https://github.com/geany/geany/issues/2930" data-hovercard-type="pull_request" data-hovercard-url="/geany/geany/pull/2930/hovercard" href="https://github.com/geany/geany/pull/2930">#2930</a> might have fixed it. Unfortunately, it behaves just the same, no popups, just shows error.</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/3009">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ7PLLVGAZXM64LI5LTUMSK5RANCNFSM5IIZBMOQ">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/AAIOWJZMBSCPRQ7AKXJ2RM3UMSK5RA5CNFSM5IIZBMO2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4PYAITOQ.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/3009",
"url": "https://github.com/geany/geany/issues/3009",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>