← Back to team overview

sikuli-driver team mailing list archive

[Bug 939482] Re: Changing screen setup is not recognized by Sikuli

 

could you make the following test and report the output.
Before running the script you have to save it.

--- screen in landscape position:
import shutil
import os
print SCREEN
img = capture(SCREEN)
shutil.move(img, os.path.join(getBundlePath(), "landscape.png"))

-- stop Sikuli IDE, tilt screen to portrait position and run the script again (mind the new filename):
import shutil
import os
print SCREEN
img = capture(SCREEN)
shutil.move(img, os.path.join(getBundlePath(), "portrait.png"))

Have a look, what is reported about the screen and what the pictures
look like, you can find in the .sikuli bundle.

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

Title:
  Changing screen setup is not recognized by Sikuli

Status in Sikuli:
  New

Bug description:
  i have a tilt funktion in my screens, and can change the resolution
  from 1680 x 1050 to 1050 x 1680.

  Then the matching preview is not able to detect any thing below 1050 x
  700?

  work around is offcourse to turn screen back to 1680 x 1050.

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


References