Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8118478

Mac DnD: Need to map Glass ANY drag action into JFX drag event with proper TransferMode

    Details

      Description

      When we dragged an image file into Scene builder running on Mac, it worked on:
          System Version: Mac OS X 10.6.8 (10K549)

      but got an exception on:
         Software Mac OS X Lion 10.7.4 (11E53)

      Glass detected outstanding Java exception at -[GlassViewDelegate sendJavaDndEvent:type:]:src/com/sun/mat/ui/GlassViewDelegate.m:873
      Exception in thread "JavaFX Application Thread" java.lang.IllegalArgumentException: PrismEventUtils.convertToTransferMode: bad drop action: 4fffffff
         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.glassDropTargetEventToFX(PrismEventUtils.java:172)
         at com.sun.javafx.tk.quantum.QuantumToolkit.convertDropTargetEventToFX(QuantumToolkit.java:1145)
         at javafx.scene.Scene$DropTargetListener.dragEnter(Scene.java:2503)
         at com.sun.javafx.tk.quantum.GlassSceneDnDEventHandler.handleDragEnter(GlassSceneDnDEventHandler.java:60)
         at com.sun.javafx.tk.quantum.GlassViewEventHandler.handleDragEnter(GlassViewEventHandler.java:376)
         at com.sun.glass.ui.View.handleDragEnter(View.java:691)
         at com.sun.glass.ui.View.notifyDragEnter(View.java:1004)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                anthony Anthony Petrov (Inactive)
                Reporter:
                gziemski Gerard Ziemski
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported: