Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.6.1
-
None
-
macOS
-
-
23ea54d861be1b68e5df4264c75e0e8d0f5d3c04
Description
Because Cocoa will filter the dragging operations depending on which modifier key is pressed, the value returned by -[QNSView draggingSourceOperationMaskForLocal:] may be overridden before we get a chance of reading it in any of the dragging event handlers.
Run the attached example and see what happens when you press the Cmd key while dragging. Notice that the drop action is always set to CopyAction by the application, and so it should show.
It's been reported that things work as expected on Windows.