Windows: menu's don't show when a GtkWindow is fullscreen
For some reason, our VICE Gtk3 UI doesn't properly display menu from the menu bar or popup menu triggered from the statusbar on Windows 10. The same code works fine on various Linux distros and BSD flavours. Seems to happen only when using GtkGlArea, using our fallback Cairo renderer the menus display fine.
Steps to reproduce
- Build the Gtk3 version of VICE (https://sourceforge.net/projects/vice-emu/) with MSYS2 on Windows
- Run x64sc, press Alt+D to go full screen, press Alt+B to enable menu bar and statusbar
- Click anywhere on the main menu bar or try left/right clicking for example the drive widget in the statusbar, which should pop up a GtkMenu.
This works fine on various Linux and BSD distros, even in VM's with crappy drivers. Doesn't work on Windows. On my Windows 10 box I get the little blue bar under the main menu item ('file' or so), but the actual menu isn't shown. Same with any popup GtkMenu's.
Menu's properly shown the way it works on Linux and BSD.
My test box runs Windows 10 Home, I'm using MSYS2 to build, Gtk3 version is 3.24.5. VICE version should preferably be trunk or close)
To just get a binary, a Lemon64 user currently builds Gtk3 ports of our trunk: https://tinyurl.com/y78fhx2g, just run it from a terminal with
x64sc.exe -gtkbackend 1 to enable openGL and
x64sc.exe -gtkbackend 0 to enable the Cairo fallback.
When required I can build a debug build which spits out a lot of info about our use of Gtk3, but doesn't contain any Gtk3/GLib debug symbols.