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

Drag_Done not triggered when drag canceled

    Details

      Description

      Whenever i drop a dragged object from a TableView onto a NON DropTarget, onDragDone is never triggered.

      Documentation here seems a bit inconsistent.
      DragEvent javadoc says: After the gesture has been finished, whether by successful or unsuccessful data transfer or being canceled, the DRAG_DONE event is sent to the gesture source.
      So canceled means for me, when i dropped it somewhere on a NON DropTarget

      But Node JavaDoc says: onDragDoneProperty
      Defines a function to be called when this Node is a drag and drop gesture source after its data has been dropped on a drop target.

      From what i experience the JavaDoc for Node is correct and DragDone is only triggered when dropped on a drop target.
      The desired behavior would be that DragDone is always triggered when i stop dragging and release the mouse button.

        Attachments

          Activity

            People

            • Assignee:
              msladecek Martin Sládeček
              Reporter:
              usengewaljfx Uwe Sengewald (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported: