-
Bug
-
Resolution: Not an Issue
-
P3
-
None
-
7u21
-
Mac OS 10.8.3 with JDK 7 update 21, or update 17, probably some older too. Works fine on Windows with same JDK updates.
With drag and drop implemented on a tree node, Node.startDragAndDrop(TransferMode...) throws an exception whenever more than one TransferMode element is specified as the parameter; TransferMode.COPY_OR_MOVE is one example.
Top portion of stack trace:
Glass detected outstanding Java exception at -[GlassViewDelegate sendJavaDndEvent:type:]:src/com/sun/mat/ui/GlassViewDelegate.m:774
Exception in thread "JavaFX Application Thread" java.lang.IllegalArgumentException: PrismEventUtils.convertToTransferMode: ambiguous drop action: 3
at com.sun.javafx.tk.quantum.PrismEventUtils.convertToTransferMode(PrismEventUtils.java:193)
at com.sun.javafx.tk.quantum.PrismEventUtils.glassDragEventToFX(PrismEventUtils.java:147)
at com.sun.javafx.tk.quantum.PrismEventUtils.glassDragSourceEventToFX(PrismEventUtils.java:167)
at com.sun.javafx.tk.quantum.QuantumToolkit.convertDragSourceEventToFX(QuantumToolkit.java:1141)
at javafx.scene.Scene$DragSourceListener.dragDropEnd(Scene.java:2975)
...etc...
Top portion of stack trace:
Glass detected outstanding Java exception at -[GlassViewDelegate sendJavaDndEvent:type:]:src/com/sun/mat/ui/GlassViewDelegate.m:774
Exception in thread "JavaFX Application Thread" java.lang.IllegalArgumentException: PrismEventUtils.convertToTransferMode: ambiguous drop action: 3
at com.sun.javafx.tk.quantum.PrismEventUtils.convertToTransferMode(PrismEventUtils.java:193)
at com.sun.javafx.tk.quantum.PrismEventUtils.glassDragEventToFX(PrismEventUtils.java:147)
at com.sun.javafx.tk.quantum.PrismEventUtils.glassDragSourceEventToFX(PrismEventUtils.java:167)
at com.sun.javafx.tk.quantum.QuantumToolkit.convertDragSourceEventToFX(QuantumToolkit.java:1141)
at javafx.scene.Scene$DragSourceListener.dragDropEnd(Scene.java:2975)
...etc...