Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.5.0, 6.5.2
-
None
-
1. Windows 10, Qt Creator 10.0.0, Qt 6.5.0, VS 2019 compiler
2. Debian Buster, X11, Qt Creator 10.0.2, Qt 6.5.2, gcc 8.3.0
Description
DragHandler is not properly deactivated when a drag operation is cancelled with the ESC key outside of any window.
A minimal example is provided: See DragHandlerCancelProblem.zip
Compile and start the application.
Drag the blue rectangle outside any windows until hovering on the desktop background. Then press the ESC key.
The drag operation is cancelled but the DragHandler is not inactive. The effect is:
If you now re-enter the application window and press, hold and move the mouse at any space OUTSIDE the blue rectangle then a drag is started on the blue rectangle.
This does not happen if the drag operation was cancelled within the application window.
On Linux it doesn't happen either if the drag operation was cancelled within any window.