X-1.0rc3: secondary monitor: Match.left/right/below doesn't work on secondary monitor --- workaround --- fixed 1.1.0 (2015-05-15+)
Bug #816560 reported by
Cristi Mihai
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SikuliX |
Fix Committed
|
Critical
|
RaiMan |
Bug Description
***** workaround
only matches are affected. Region work.
cast matches to Regions:
s = Screen(1)
r = Region(
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(
#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.
description: | updated |
Changed in sikuli: | |
milestone: | none → x1.0-rc3 |
status: | New → In Progress |
Changed in sikuli: | |
milestone: | x1.0-rc3 → none |
tags: | added: in rc3 works |
tags: |
added: worksrc3 removed: in rc3 works |
summary: |
- X-1.0rc3: Region.left/right/below doesn't work on secondary monitor --- + X-1.0rc3: Match.left/right/below doesn't work on secondary monitor --- workaround |
tags: | removed: worksrc3 |
summary: |
- X-1.0rc3: Match.left/right/below doesn't work on secondary monitor --- - workaround + X-1.0rc3: secondary monitor: Match.left/right/below doesn't work on + secondary monitor --- workaround |
tags: | added: match monitor multi rc3 spatialoperators |
Changed in sikuli: | |
status: | In Progress → Fix Committed |
assignee: | nobody → RaiMan (raimund-hocke) |
milestone: | none → x1.0 |
importance: | Undecided → Low |
Changed in sikuli: | |
importance: | Low → High |
tags: |
added: fkt-general removed: match monitor multi rc3 spatialoperators |
tags: |
added: fkt-multimonitor removed: fkt-general |
Changed in sikuli: | |
status: | Fix Committed → In Progress |
milestone: | x1.0 → x1.1 |
Changed in sikuli: | |
importance: | High → Critical |
Changed in sikuli: | |
status: | In Progress → Fix Committed |
Changed in sikuli: | |
importance: | Critical → High |
summary: |
X-1.0rc3: secondary monitor: Match.left/right/below doesn't work on - secondary monitor --- workaround + secondary monitor --- workaround --- fixed 1.1.0 (2015-05-15+) |
Changed in sikuli: | |
importance: | High → Critical |
To post a comment you must log in.
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.