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

[DND] Mouse coordinates always zero at onDragDone

    XMLWordPrintable

    Details

      Description

      I have noticed that getX(), getY(), getSceneX(), getSceneY(), getSourceX(), getScreenX() and getScreen(Y) are all zero for a DragEvent instance passed to a handler set by Node.setOnDragDone().

      This is inconsistent with the JavaDocs which say that those methods will return coordinates.

      Either this is a bug in the source code or the JavaDocs should get updated to reflect that special case of all being zero by intention.

        Attachments

          Activity

            People

            Assignee:
            morris Morris Meyer (Inactive)
            Reporter:
            mkarg Markus Karg
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported: