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

[macOS] dragViewOffsetX/dragViewOffsetY are ignored for the dragView image

XMLWordPrintable

      The Dragboard API allows developers setting an image as dragView, and an offset for its relative position to the mouse cursor, while the drag and drop operation.

      On macOS, this offset is always ignored, and the dragView image shows up centred around the mouse cursor hotspot.

      The attached test reproduces the issue.

      The "dragndrop macOS.png" picture shows the issue: regardless the offset, the image is always located at the same spot.

      The issue can be reproduced with any JavaFX version.

            lkostyra Lukasz Kostyra
            jpereda Jose Pereda
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: