Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.5
-
None
-
Tested on Sonoma 14.7.1 with an M2 processor
-
-
7740ac36d (dev), c39a944e7 (6.9), 155e81418 (6.8)
Description
This was broken by QTBUG-99471.
When running the draggableicons example on macOS I can force a move by pressing cmd and force a copy by pressing alt. On Windows and Linux this is not possible (as expected).
Note that the fix for QTBUG-99471 wrongly assumes that sourceOperationMaskForDraggingContext is called for whichever context something is dragged to. In my tests sourceOperationMaskForDraggingContext was always called twice when starting a drag, first with NSDraggingContextWithinApplication and then with NSDraggingContextOutsideApplication.
Attachments
Issue Links
- resulted from
-
QTBUG-99471 macOS: modifier key does not switch between copy/move actions when dragging to file manager
- Open
For Gerrit Dashboard: QTBUG-132091 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
612177,4 | Revert "qnsview_drag: only ignore key modifier while dragging 'within the application'" | dev | qt/qtbase | Status: MERGED | +2 | 0 |
612383,2 | Revert "qnsview_drag: only ignore key modifier while dragging 'within the application'" | 6.9 | qt/qtbase | Status: MERGED | +2 | 0 |
612498,2 | Revert "qnsview_drag: only ignore key modifier while dragging 'within the application'" | 6.8 | qt/qtbase | Status: MERGED | +2 | 0 |