-
Bug
-
Resolution: Unresolved
-
P3
-
11, 14, 15, 16, 17, 19
-
generic
-
os_x
According to the spec
https://docs.oracle.com/javase/7/docs/api/java/awt/dnd/DragSourceDragEvent.html
The Ctrl+Click should cause ACTION_COPY action but in fact, ACTION_NONE is occurred during the drop.
We have a few tests for this functionality:
java/awt/dnd/CustomDragCursorTest/CustomDragCursorTest.html
java/awt/dnd/DnDCursorCrashTest/DnDCursorCrashTest.html
java/awt/dnd/DnDRemoveFocusOwnerCrashTest/DnDRemoveFocusOwnerCrashTest.html
java/awt/dnd/DragExitBeforeDropTest/DragExitBeforeDropTest.html
java/awt/dnd/DroppingVMCrashTest/DroppingVMCrashTest.html
But unfortunately, all of them pass on macOS due to bug in the robot, which skips the pressing Ctrl and run DnD just by mouse.
https://docs.oracle.com/javase/7/docs/api/java/awt/dnd/DragSourceDragEvent.html
The Ctrl+Click should cause ACTION_COPY action but in fact, ACTION_NONE is occurred during the drop.
We have a few tests for this functionality:
java/awt/dnd/CustomDragCursorTest/CustomDragCursorTest.html
java/awt/dnd/DnDCursorCrashTest/DnDCursorCrashTest.html
java/awt/dnd/DnDRemoveFocusOwnerCrashTest/DnDRemoveFocusOwnerCrashTest.html
java/awt/dnd/DragExitBeforeDropTest/DragExitBeforeDropTest.html
java/awt/dnd/DroppingVMCrashTest/DroppingVMCrashTest.html
But unfortunately, all of them pass on macOS due to bug in the robot, which skips the pressing Ctrl and run DnD just by mouse.
- duplicates
-
JDK-8252675 [macos] DropTargetInInternalFrameTest.html failed on macOS
- Closed
- relates to
-
JDK-8242174 [macos] The NestedModelessDialogTest test make the macOS unstable
- Closed
-
JDK-8265742 [macos] Control+Click will invoke ACTION_COPY in a drag and drop application on MacOS
- Open