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

Values generated by calling Robot::mouseWheel are much smaller on Mac

XMLWordPrintable

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

      JDK-8207369 is creating new tests for the various JavaFX Robot methods. One of them tests the robot::mouseWheel call. While testing this, it was discovered that the ScrollEvent::getDeltaY values that are delivered as a result of the mouseWheel calls on Windows and Linux are scaled by 40 compared to the values on Mac. We should understand the cause of this difference and either document it (if there is a good reason for the difference) or fix it (if the difference is considered a bug and if we can justify the compatibility concerns of changing the behavior). Also of note is that the direction of the scrolling is opposite on Mac, but this may be a result of the "natural scroll direction" on Mac.

            Unassigned Unassigned
            kcr Kevin Rushforth
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: