RFR: 8282716: [macos] Enable javax/swing/JScrollPane/TestMouseWheelScroll.java on macos

Prasanta Sadhukhan psadhukhan at openjdk.java.net
Sun Apr 10 04:56:42 UTC 2022


On Sat, 9 Apr 2022 05:35:30 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:

> The scroll direction on macOS can be configured, can the test check what type of scroll is used on the current system and then use that to verify the old fix?

I see "Scroll direction: Natural" check in mouse in SystemPreference which is by default checked, 
which causes down-wheel scroll to "move up" and up-wheel scroll to "move down" and if unchecked, then it causes reverse.
But I could not find anyway to find in Java in Robot how to get scroll type of macos or for other platforms. 
If you are aware, let me know..
I guess we always test with default settings..

-------------

PR: https://git.openjdk.java.net/jdk/pull/8123



More information about the client-libs-dev mailing list