← Back to team overview

sikuli-driver team mailing list archive

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

 

Public bug reported:

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.

** Affects: sikuli
     Importance: Undecided
         Status: New

** Description changed:

  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 = find("asset.png")
+ 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.

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


Follow ups

References