Created attachment 140265 [details] video showing bug SUMMARY After dragging a GTK4 window by GtkHeaderBar or GtkWindowHandle, the window remains in a non-interactive state where only dragging is possible until after the first click. i.e. the first click on any other widget is ignored. STEPS TO REPRODUCE 1. Open gtk4-demo 2. Begin dragging the window by the HeaderBar. 3. Then, try to click anywhere outside the HeaderBar in the window. OBSERVED RESULT The first click anywhere outside the HeaderBar is ignored. This also allows the user to drag the window from anywhere on the window until after the first click (by clicking, not dragging, anywhere else first). EXPECTED RESULT The first click outside the HeaderBar should activate the widget that the cursor was hovered over. SOFTWARE/OS VERSIONS Linux/KDE Plasma: Fedora 34 KDE (available in About System) KDE Plasma Version: 5.22.80 KDE Frameworks Version: 5.85.0 Qt Version: 5.15.2 ADDITIONAL INFORMATION The bug isn't present on Wayland, isn't present on GNOME X11 and is also present with KWin 5.22.3.
I had reported this bug on GTK's tracker before: https://gitlab.gnome.org/GNOME/gtk/-/issues/3858 . But now, I'm not sure if it's a GTK bug or a KWin bug because I can't seem to reproduce it on GNOME X11 and now I'm feeling unsure about if I had really reproduced the same bug before on GNOME X11 at all. Hence why I'm reporting here.
Please reopen if an issue persists. I don't believe it's an issue anymore.