On Sun, 10 Apr 2022 04:53:38 GMT, Prasanta Sadhukhan <psadhuk...@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..

I have updated test to check wheel scroll type at runtime

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

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

Reply via email to