← Back to team overview

sikuli-driver team mailing list archive

[Bug 838179] [NEW] X-1.0rc2: Region spatial operators (nearby, left, right, ...) returning different screen than originating region

 

Public bug reported:

Background:
I have a 2 screen setup, region is being matched on Screen(1).  

Expected:
Calling spacial operator below() will yield a region on the same screen as the region we're operating on Screen(1).

Example:
I have a original region of:

print region
>>> Match[-1401,131 18x18] score=1.00, (Screen 1)

print region.below()
>>> Region[0,149 -1383x901]@Screen(0) E:Y, T:3.0

Actual:
Returning an invalid xy coord, x is negative.  Screen is (0) instead of Screen (1).

** Affects: sikuli
     Importance: Undecided
         Status: New

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

Title:
  X-1.0rc2: Region spatial operators (nearby, left, right, ...)
  returning different screen than originating region

Status in Sikuli:
  New

Bug description:
  Background:
  I have a 2 screen setup, region is being matched on Screen(1).  

  Expected:
  Calling spacial operator below() will yield a region on the same screen as the region we're operating on Screen(1).

  Example:
  I have a original region of:

  print region
  >>> Match[-1401,131 18x18] score=1.00, (Screen 1)

  print region.below()
  >>> Region[0,149 -1383x901]@Screen(0) E:Y, T:3.0

  Actual:
  Returning an invalid xy coord, x is negative.  Screen is (0) instead of Screen (1).

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


Follow ups

References