Buttons stay pressed even after they are released if the window is dragged while they were pressed on X11
Steps to reproduce
- Open a GTK4 app, where ideally there are buttons in the headerbar or a similarly dragable area.
- Press a button, before releasing move the window by at least some amount.
- Release button.
Current behavior
The current behavior is that when I press something like the window close button, or one of those view switcher buttons, or really any other button. And at the time that they are pressed the window is moved on X11, then the buttons will be stuck visually pressed.
Expected outcome
The expected outcome is that they don't, this happens on wayland.
Version information
- Which version of GTK you are using - the one that is on org.gnome.Platform//master, however this also happens on master, flatpak and not.
- What operating system and version - Arch Linux
- For Linux, which distribution - Arch Linux
- If you built GTK yourself, the list of options used to configure the build - I tried the default build as in the README, also happens when using the automagic flatpak building of GNOME Builder.
Additional information
Here are some screenshots of how it looks,
Also, I thought this issue would be reported somewhere since it seams so easy to reproduce, however I didn't find an issue