← Back to team overview

sikuli-driver team mailing list archive

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

 

** Changed in: sikuli
    Milestone: x1.0-rc3 => None

-- 
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/below doesn't work on secondary monitor
  --- workaround

Status in Sikuli:
  In Progress

Bug description:
  ***** workaround

  only matches are affected. Region work.

  cast matches to Regions:

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

  ---------------------------------------------------

  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