[1.0.1 ok] "Location: outside any screen" error on dual-screen configuration
Bug #1213439 reported by
Camill
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SikuliX |
Fix Committed
|
Critical
|
RaiMan |
Bug Description
--- fixed in 1.0.1 per August 20 at 2 pm gmt+1
run setup again after that time to get fix
-------
Sikuli IDE 1.0.1
Windows 7 x64
1. Dual-screen configuration where the right screen is primary (thus, coordinates on the left screen is negative).
2. Sikuli window on the left screen.
3. Move mouse ower any thumbnail in the script.
4. Sequence error in message pane like "[error] Location: outside any screen (32, -3) - subsequent actions might not work as expected". See attached screenshot.
or
2. Run script: click(<
3. Script return: [error] FindFailed ( can not find 1376853223841.png on the screen. )
description: | updated |
description: | updated |
description: | updated |
summary: |
- "Location: outside any screen" error on dual-screen configuration + "FindFailed" or "Location: outside any screen" error on dual-screen + configuration |
description: | updated |
summary: |
- [1.0.1] "Location: outside any screen" error on dual-screen + [1.0.1 ok] "Location: outside any screen" error on dual-screen configuration |
Changed in sikuli: | |
status: | New → Fix Committed |
importance: | Undecided → Critical |
assignee: | nobody → RaiMan (raimund-hocke) |
milestone: | none → 1.1.0 |
To post a comment you must log in.
--- FindFailed for image on left monitor search) .
It is still so, that you have to tell Sikuli, on which screen to look for images (version 1.1 will have more support for multi-screen-
click(< any_picture_ on_left_ screen> ) per definition looks on Screen(0) (which is set as a pseudo-constant SCREEN, that is used for all undotted Region functions like click, find, type, ...)
So this FindFailed is a "feature" ;-)
if you want to work on screen 1 use e.g. <any_picture_ on_left_ screen> )
S1 = Screen(1)
S1.click(
... means all Region/Screen functions using images located on screen 1 need to be written as S1.function
(this is in fact the approach, to "restrict" a search operation to a specific region)
All functions using Regions or Locations as parameters need not be qualified, even if the region or location is on another monitor.
*** [error] Location: outside any screen ...
I am working on that