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

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

    Details

    • Type: Bug
    • Status: Open
    • Priority: P3
    • Resolution: Unresolved
    • Affects Version/s: openjfx11, openjfx12
    • Fix Version/s: tbd
    • Component/s: javafx
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated: