[1.1.4] Mac: want natural mouse wheeling --- fixed build #115+
Bug #1803895 reported by
RaiMan
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SikuliX |
Fix Released
|
Critical
|
RaiMan |
Bug Description
I have a Macintosh Mojave
Since Lion OS the developers decided to change the wheel up and down
and reverse them.
Well, if you go to preferences --> Mouse
you will see that you can UNCheck the Scroll direction: Natural
But the problem is that the above, does not work
when I issue a wheel(WHEEL_DOWN,8) command in the Sikuli Python Script
on the Mac system,
it doesn't wheel down, it wheels up
The Sikuli tests were originally developed on Windows 10 and I am porting them to Mac.
Is there any way to fix this other than having to go back through
40,000 lines of code.
Thanks a ton for your help. :)
Changed in sikuli: | |
status: | Fix Committed → Fix Released |
milestone: | 1.1.4 → 2.0.0 |
To post a comment you must log in.
I will add a WheelNatural
Settings.
with a default of True (WHEEL_UP moves content towards top and reveals content at the bottom == Mac-Natural)
Setting it to False will reverse it and should meet your requirement.
You have to add it at the start of every main script, whose run needs it.
Be aware, that currently still the most Settings keep their value in the IDE until changed again - there is no complete reset to defaults neither at script start nor at the end (open request).