Wrong screen coordinates for multimonitor configuration with different scale rate for them

Bug #1491551 reported by Folindril
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SikuliX
Confirmed
Undecided
Unassigned

Bug Description

Siculi 1.1.0, Windows 8/10
If I have different scale rates for monitors, I have a trouble with Sikuli.
You can see about what setting I'm saying at this picture: http://prntscr.com/8bxqjk
For example, I have two monitors from left to right:
3840x2160 (100%)
3840x2160 (150%) main
Attributes for screens look like:
@S(1)[-5760,0 5760x3240]
@S(0)[0,0 3840x2160]
You can see that left monitor have wrong x-coordinate, wrong width and wrong hight.

More examples.
Three monitors from left to right:
1920×1080 (100%)
3840x2160 (150%)
3840x2160 (150%) main
We have attributes like:
@S(2)[-8640,0 2880x1620]
@S(1)[-5760,0 3840x2160]
@S(0)[0,0 3840x2160]

So, only with rightmost monitor at those examples Sikuli work fine, becouse only rightmost monitor have correct attributes in Screen object.

And of course I have an error at the begin like:
[error] RobotDesktop: checkMousePosition: should be L(-3840,1080)@S(1)[-5760,0 3840x2160]
but after move is L(-5760,1080)@S(1)[-5760,0 3840x2160]
Possible cause in case you did not touch the mouse while script was running:
 Mouse actions are blocked generally or by the frontmost application.
You might try to run the SikuliX stuff as admin.

Folindril (folin)
description: updated
description: updated
description: updated
information type: Private Security → Public
Folindril (folin)
description: updated
description: updated
description: updated
description: updated
description: updated
Folindril (folin)
description: updated
description: updated
description: updated
description: updated
RaiMan (raimund-hocke)
Changed in sikuli:
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.