[Mac] DRAG_DONE reports null transferMode when destination is external

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • jfx23
    • Affects Version/s: jfx21, jfx22
    • Component/s: javafx

      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.

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

              Created:
              Updated:
              Resolved: