← Back to team overview

sikuli-driver team mailing list archive

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

 

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

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1803895

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

Status in Sikuli:
  Fix Committed

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1803895/+subscriptions


References