Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.14.2
-
None
Description
Currently you can only call setdropAction() in dragMoveEvent() to change the drag cursor while dragging.
But you can not do anything to change the dropAction (and the drag cursor) if while dragging you stop moving the mouse and change the modifier key.
Step to reproduces with the sample code:
1. dragging the button inside its window.
2. stop moving the mouse. (this step is very important)
3. change the modifier key between Shift/Ctrl/...
- Expected behavior:
The drag cursor changes automatically or manually like it does if you do the extra step below:
4. Move the mouse some px.
- Current behavior:
No way to change the drag cursor if you don't move the mouse after the step 3.
Attachments
Issue Links
- relates to
-
QTBUG-56218 XCB: DragMove event is not generated on key press
- Closed