<p></p>
<p>Vesion: Geany 1.37.1<br>
OS: Arch Linux<br>
Graphical Environment: Sway (Wayland) but also occurs on other Wayland compositors</p>
<p>Whenever Geany is on my second monitor, the pop up autocomplete dialog is invisible. It still exists as pressing enter selects an entry but it is simply not rendered. Behavior on my primary monitor is normal and the menu renders. I spent some time looking into whether or not this was specific to Wayland or GTK and found several reported issues for other programs that seemed relevant.</p>
<p>According to <a href="https://github.com/swaywm/sway/issues/3135#issuecomment-448794177" data-hovercard-type="issue" data-hovercard-url="/swaywm/sway/issues/3135/hovercard">this comment</a> issues with incorrect positioning of popups is related to the use of <code>gtk_menu_popup ()</code> which was deprecated in GTK 3.22. Replacing it with something like <code>gtk_menu_popup_at_widget()</code> or another appropriate function may fix my issue. Apologies for not submitting a PR but I'm not well-versed in C nor GTK.</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/2820">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ3BXA4DDHIACNIK7O3TRD477ANCNFSM46DDYN7Q">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAIOWJ3KCWTY7YQ3HLZFHFDTRD477A5CNFSM46DDYN72YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4NSW5P2Q.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/2820",
"url": "https://github.com/geany/geany/issues/2820",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>