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

No way to determine Node screen coordinates.

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P2 P2
    • fx1.3
    • fx1.2, fx1.3
    • javafx
    • None

      There is no way to determine screen coordinates of a node.

      I could get coordinates of a node in Scene by localToScene method, I could get screen coordinates of a Stage.

      But Scene.x and Scene.y are always 0.

      So, if Stage.style is StageStyle.DECORATED there is a window border width (which affects x coordinate) and title height (which affects y).

      This is a blocker for UI test automation.

            tdv Dmitri Trembovetski (Inactive)
            shurailine Aleksandre Iline
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: