[1.1.4] Mac: want natural mouse wheeling --- fixed build #115+

Bug #1803895 reported by RaiMan
8
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. :)

Revision history for this message
RaiMan (raimund-hocke) wrote :

I will add a
Settings.WheelNatural

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).

Changed in sikuli:
status: New → Fix Committed
importance: Undecided → Critical
assignee: nobody → RaiMan (raimund-hocke)
milestone: none → 1.1.4
RaiMan (raimund-hocke)
Changed in sikuli:
status: Fix Committed → Fix Released
milestone: 1.1.4 → 2.0.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.