[1.1.0] screen coordinates change after snapshot --- fixed 2015-06-24
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SikuliX |
Fix Committed
|
Critical
|
RaiMan |
Bug Description
Sikuli version: 1.1.0 nightly build
OS: Win 7 64-bit
Setup:
My hardware setup is a laptop with 3 external monitors. (Laptop is closed so laptop monitor itself is not in use.)
Sikuli reports screens as follows:
Number of screens is 3
java.awt.
java.awt.
java.awt.
which is correct. And I can reliably run sikuli scripts.
Problem:
I found that if I take a screenshot, then following this the screen(0) coordinates are now offset. Resulting execution of sikuli scripts will fail because of this. In other words sikuli will now report:
Number of screens is 3
java.awt.
java.awt.
java.awt.
The problem usually manifests as an error message like:
[log] CLICK on L(1624,
[error] Location: outside any screen (1381, 523) - subsequent actions might not work as expected
To reproduce:
run the attached project and note correct coordinates.
Take a screenshot and paste into junk() method
run the project again and it will fail with wrong coordinates.
Also see SikulixDebug.txt file included in the project.
Changed in sikuli: | |
importance: | High → Critical |
summary: |
- [1.1.0] screen coordinates change after snapshot + [1.1.0] screen coordinates change after snapshot --- fixed 2015-06-24 |
Thanks for the reminder and the input.
I plan to have this fixed in the final 1.1.0.