[error] Windows: problems with HiDPI monitors and Java 8 --- try with Java 11

Asked by Raoshuangyuan on 2018-10-28

the only code is this:

doubleClick("1540715511607.png")

it's a wechat icon on the desktop

[error] RobotDesktop: checkMousePosition: should be L(200,461)@S(0)[0,0 1280x720] but after move is L(493,416)@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] DOUBLE CLICK on L(200,461)@S(0)[0,0 1280x720] (545 msec)

Question information

Language:
English Edit question
Status:
Expired
For:
Sikuli Edit question
Assignee:
No assignee Edit question
Last query:
2018-10-28
Last reply:
2018-11-18
RaiMan (raimund-hocke) said : #1

Should be a question first

RaiMan (raimund-hocke) said : #2

Read and try

RaiMan (raimund-hocke) said : #3

no answer from user

omearam (mike-omeara) said : #4

I'm seeing something similar

(Win 10 x64 - java version "1.8.0_191"
Java(TM) SE Runtime Environment (build 1.8.0_191-b12)

Code is
click(image) then Run

Message output is (highlight is turned on in preferences)

[log] highlight M[53,167 78x47]@S(0) for 2.0 secs
[error] RobotDesktop: checkMousePosition: should be L(92,190)@S(0)[0,0 1280x720] but after move is L(91,191)@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(92,190)@S(0)[0,0 1280x720] (563 msec)

What has been noticed is that when a screenshot is taken, it magnifies(like a zoom function) the area(screen) to be captured, so if an image is to be captured you have to aim above the image coordinates as when it comes to run it the image target will be selected

omearam (mike-omeara) said : #5

Sorry forgot to add Silkuli version 1.1.3

RaiMan (raimund-hocke) said : #6

@Michael
your problem is surely related to bug 1730645

omearam (mike-omeara) said : #7

@Ralman, thanks, i will take a look