Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
5.15.2, 6.0.0
-
None
Description
When holding a dragged item over a QML DropArea it shows the action it will perform by changing the mouse cursor to DragCopyCursor, DragMoveCursor or DragLinkCursor, depending on which modifier keys are held at the same time.
However, the cursor does not update directly when pressing or releasing a modifer key.
For the cursor to update the user first has to move the cursor outside the DropArea, and then move the cursor back in.
This is inconsistent with how drag-and-drop works in QWidgets and with the system in general, the cursor is supposed to update whenever a modifier key is pressed or released so that it is clear to the user which action will be performed.
Tested with the "externaldraganddrop" example.
Attachments
Issue Links
- relates to
-
QTBUG-50981 Mouse cursor inconsistent with Drag Drop operation
- Reported
-
QTBUG-33168 Cursor does not remain the same while dragging from inside to outside a MouseArea
- Closed
-
QTBUG-487 QDrag pixmap is ignored on Windows if no action is available
- Closed