You are not logged in.
I am having an issue with drop-down menus not working properly in GTK3 (native Wayland) applications:
1. Press and hold left mouse button over e.g. "File" in the menu bar
2. While holding the button, move the mouse down into the menu that appears
3. Let up the mouse button over the menu item I'm trying to activate (e.g. "Open File")
With GTK3 apps in native Wayland mode, none of the menu items are highlighted while moving the mouse over them, and the menu simply closes when releasing the button (no menu item is activated).
However, everything works as expected if I force GTK into XWayland mode with GDK_BACKEND=X11.
Qt 5 apps are also working properly (tested in both native Wayland and XWayland mode) so it seems to be GTK3-specific.
I tested various GTK3 apps (Geany, Thunar, xfce4-terminal), all have the same issue.
I tested running under both kwin_wayland and labwc (git version), no difference.
https://gitlab.gnome.org/GNOME/gtk/-/issues/3662 seems to describe the same issue. The issue is closed but there is a mention of "needs mutter changes too".
Does anyone else have the same issue?
Would anyone running GNOME/mutter be willing to test there and see if the same issue occurs?
Is there something missing on the compositor side in kwin_wayland and labwc?
Last edited by jlindgren (2022-09-10 19:38:52)
Offline
For posterity:
- GTK3 menus also do not work under Sway, but do work correctly under Weston.
- Under labwc, the issue is related to missing leave/enter events for XDG popups. There is a fix/workaround here: https://github.com/labwc/labwc/pull/533
- I have not looked into a fix for Sway nor kwin_wayland.
Offline