← Back to team overview

sikuli-driver team mailing list archive

[Bug 816560] Re: X-1.0rc3: Region.left() / .right() doesn't work on secondary monitor

 

Mac Lion confirmed.

For right() and left() the width of the new region is calculated using
the width of the base region and not using the given width. This leads
to the same negative value, no matter what value is given with
left/right.

** Summary changed:

- Region.left() / .right() doesn't work on secondary monitor that's on the left of primary one
+ X-1.0rc3: Region.left() / .right() doesn't work on secondary monitor

-- 
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:
  X-1.0rc3: Region.left() / .right() doesn't work on secondary monitor

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