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

[Mac] DRAG_DONE reports null transferMode when destination is external

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • jfx23
    • jfx21, jfx22
    • javafx

    Description

      When a DnD destination is in another app the transferMode reported by the DRAG_DONE DragEvent is always null even if the drop was accepted. This also means the event's isAccepted() call returns false. It doesn't matter if the drop is to the Finder or another JavaFX application.

      Steps to reproduce
      ======
      - Launch two instances of the attached DragAndDrop program
      - Click and drag in the upper-left green rectangle of one instance
      - Finish the drop in one of the blue rectangles in the other instance

      Expected result
      ======
      After the drop the source rectangle should report that the drag was accepted and what the drag operation was.

      Actual result
      =======
      The source always reports the drag as rejected.

      Attachments

        Issue Links

          Activity

            People

              mfox Martin Fox
              mfox Martin Fox
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: