[1.1.3] High Resolution not working

Asked by Sachin on 2018-09-15

Hello,

Im using Sikuli v1.1.3 and Java v9. Can you pls help me on the below queries

1) When we execute sikuli script with 1920x1080 resolution it works fine (able to click appropriate image). But when I tried to increase the resolution to 3840x2160, the script is not working. Tried changing the Java to v10 seeing the same problem.

2) When I checked the screen bounds Width = 1280 and height = 720 even though the resolution is 1920x1080 / 3840x2160, Not sure why it is 1280x720

1920x1080 --- Logs (Working - Pass Case)

M[298,121 74x59]@S(S(0)[0,0 1280x720]) S:0.84 C:335,150 [389 msec]
L(335,150)@S(0)[0,0 1280x720]
[error] RobotDesktop: checkMousePosition: should be L(335,150)@S(0)[0,0 1280x720] but after move is L(336,150)@S(0)[0,0 1280x720] 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.
[log] CLICK on L(335,150)@S(0)[0,0 1280x720] (539 msec)

3840x2160 ---- Logs (Not Working - Fail Case)

M[224,377 74x59]@S(S(0)[0,0 1280x720]) S:1.00 C:261,406 [249 msec]
L(261,406)@S(0)[0,0 1280x720]
[error] Location: outside any screen (0, 720) - subsequent actions might not work as expected
[error] RobotDesktop: checkMousePosition: should be L(261,406)@S(0)[0,0 1280x720] but after move is L(0,720) 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.
[log] CLICK on L(261,406)@S(0)[0,0 1280x720] (547 msec)

RaiMan (raimund-hocke) said : #1

see related bug

RaiMan (raimund-hocke) said : #2

if Java 10 does not help, no help is available currently.

Can you help with this problem?

Provide an answer of your own, or ask Sachin for more information if necessary.

To post a message you must log in.