Vesion: Geany 1.37.1 OS: Arch Linux Graphical Environment: Sway (Wayland) but also occurs on other Wayland compositors
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.
According to [this comment](https://github.com/swaywm/sway/issues/3135#issuecomment-448794177) issues with incorrect positioning of popups is related to the use of `gtk_menu_popup ()` which was deprecated in GTK 3.22. Replacing it with something like `gtk_menu_popup_at_widget()` or another appropriate function may fix my issue. Apologies for not submitting a PR but I'm not well-versed in C nor GTK.
The autocomplete popup is created by the Scintilla editing widget and it uses `gtk_menu_popup_at_widget()` on any GTK > 3.22 see [here](https://github.com/geany/geany/blob/b524a58e12e85c94a32f64fb72615978b2628af1...)
Oh, if it's not that, then how do I go about figuring out what's the cause for this behavior? I've tried IDLE and Emacs and they don't exhibit this problem with their autocomplete menus (I know they use toolkits other than GTK). I've already tried launching Geany with a different configuration directory, with the same results.
See if it happens with the __latest__ Scite (the Scintilla reference editor) and if so report it to Scintilla and link the report here.
If it doesn't happen then it may be fixed in a newer Scintilla than Geany uses (or if you report it, and its fixed) then will be fixed in Geany when it is upgraded to a new Scintilla.
I've opened a bug report upstream but I'm not certain how helpful I can be at figuring out the issue: https://sourceforge.net/p/scintilla/bugs/2261/
Well, I suspect you are one of few with a dual monitor wayland use-case so you can test Scite when its fixed.
Vesion: Geany 1.38. OS: Fedora 37. Graphical Environment: Mutter (Wayland).
I seem to have a similar issue. In my case, when the secondary monitor is connected, the pop-up autocomplete dialog is only visible on the monitor configured to be on the left or top.
Changing the primary display in fedora settings changes nothing.
Sometimes i can see the pop-up in the secondary monitor at right (which is bigger than the primary), but it has a large offset to the right. Seem to be an positioning error rather than the pop-up being invisible.
I hope that this information will help find the problem.
The fix for Scintilla (see bug linked above) was committed on 11 Nov 21 but 1.38 was released on 10 Oct 21 so it is not in 1.38.
github-comments@lists.geany.org