Wrong screen coordinates for multimonitor configuration with different scale rate for them
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://
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,
but after move is L(-5760,
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.
description: | updated |
description: | updated |
description: | updated |
information type: | Private Security → Public |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
Changed in sikuli: | |
status: | New → Confirmed |