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

FX Robot should pass float or double down to the native code

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3 P3
    • tbd
    • jfx11
    • javafx
    • None

      Most of the FX Robot API calls take doubles for position arguments. Many of these are truncated to int before being passed down to the platform-specific native code. We should pass them down as double/float values so that the native code can decide how and when to convert them to ints.

      For example at modules/javafx.graphics/src/main/java/com/sun/glass/ui/win/WinRobot.java line 68

            mennen Michael Ennen
            kcr Kevin Rushforth
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: