Maximized window can get stuck to mouse after dragging to move (Windows)
Steps to reproduce
- Run gtk3-demo or gtk4-demo and run the Assistant widget (alternative run Inkscape)
- Maximize window (not necessary for gtk4-demo)
- Quickly click, drag and then release the click (starting from the title bar) to un-maximize and move the window
Current behavior
Sometimes, after the click finishes, the window will stick to the mouse and continue to be moved until you click again.
So far, I have not replicated in gtk3 if window is not maximized.
In Inkscape, have replicated this with click from titlebar and from the toolbar (normal GTK widgets)
Expected outcome
Window is moved and then stops once you release the mouse click
Version information
-
Inkscape 1.2-dev (ab3bd84a, 2022-01-02), which uses MSYS2's gtk3 3.24.31-1, Windows 10, 21H1
. This was reported downstream in https://gitlab.com/inkscape/inkscape/-/issues/3061 -
Inkscape 0\.92.5, MSYS2's gtk2, Windows 11
. Also same Inkscape as above, and 1.1.1 (should use slightly older gtk3 version) -
Inkscape 1.1, which uses gtk3-3.24.31-1 on Windows 7
(Windows 7 has reached EOL) gtk3-demo, which uses MSYS2's gtk3 3.24.31-1, launched from MINGW64 terminal, Windows 11 and Windows 7
-
gtk4-demo, gtk4 4.4.1-2 from MSYS2, launched from MINGW64 terminal Windows 11 and Windows 7
, full screen not necessary
Not replicated
- on Linux Mint 20, Cinnamon DE (X11) with gtk3.24.20
- on Firefox 95.0.2 Windows 11
Additional information
Recording from https://gitlab.com/inkscape/inkscape/-/issues/3061 (Windows 10, Inkscape 1.2-dev, gtk3.24.31). Window.mp4
There are some warnings when launching/opening new windows in gtk4-demo. None appear related to this bug. Windows 7 had different warnings than Windows 11, gtk4-warnings-windows11.txt.
Inkscape 1.2-dev on Windows 11 has warnings too, but again, unrelated to this (just warnings internal to Inkscape that appear on startup). Attached for completeness but unrelated: inkscape1_2dev_warnings_windows11.txt