What steps will reproduce the problem?
1. Search for an image that exists on the secondary monitor (in my case, the
one on the right side)
2. Call mouse.click(region.getCenter())
What is the expected output? What do you see instead?
I expect the mouse to click that image in the center
The mouse does jump to the image on the second monitor (the one on the right),
then you can see it move to the same coordinates on the first monitor (the one
on the left) as if it thinks the button is on the first monitor
What version of the product are you using? On what operating system?
Windows 7 Ultimate, 64 bit
Please provide any additional information below.
- Primary monitor is on the left. Secondary monitor is on the right.
- This seems to not be an issue for Mac OSX
- It will click the right button if I add an offset to
region.getRelativeScreenLocation
- Sikuli seems to think that my primary monitor is my secondary monitor, and
vise versa...I had to call desktop_screen.setScreen(new DesktopScreen(1)) for
it to detect the image on my primary monitor. My taskbar is on my left monitor.
Also when I goto my monitor setup, windows recognize my left monitor as my main
display.
Original issue reported on code.google.com by jt...@tokbox.com on 15 Apr 2013 at 8:54
Original issue reported on code.google.com by
jt...@tokbox.com
on 15 Apr 2013 at 8:54