I noticed this strange behavior few monthes ago using gnome-text-editor and thought it was a problem for that software only (still in beta). But I have the same problem for a toy learning project that I’m developping using gnome-builder.
Steps to reproduce:
- Open gnome-text-editor (from flathub)
- Click on the hamburger button in the headerbar. The menu opens.
- Click on the hamburger button again to close it (without choosing anything in the menu). It doesn’t close.
- The menu only closes when pressing the escape key (or obviously if you click something in the menu).
With a non-flatpak version of gnome-text-editor (same version), clicking the hamburger button the second time closes the menu.
And I have the same behaviour with my own program.
Am I the only one? Should I file a bug towards gtk4? Or towards flatpak? Or toward XWayland (I’m using X11)? Or some other component?