← Back to team overview

sikuli-driver team mailing list archive

[Bug 816560] Re: Region.left() / .right() doesn't work on secondary monitor that's on the left of primary one

 

I tested with other display arrangements, the computation of right() and
left() fail on all the possible arrangements, so it's not dependant to
the arrangement.

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

Title:
  Region.left() / .right() doesn't work on secondary monitor that's on
  the left of primary one

Status in Sikuli:
  New

Bug description:
  App: Version X-1.0rc2 for Mac

  Requirements: multiple monitor, with secondary monitor on the left (so
  Region coordinates are negative)

  Use a script similar to this:

  s = Screen(1)
  r = s.find("asset.png")
  r.highlight()

  r.right(50).highlight() # is wrong

  #probably there is a bug in computing the edge of the screen when the
  coordinates are negative.

  Note: I haven't tried to move the secondary monitor on the right of
  primary to see if that still causes the issue.

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


References