Lenovo ThinkPad: Win 10 Enterprise: Click not working with Java 8 version 211 and 241

Asked by Ravina Ingole on 2020-02-20

What I want to achieve:
I want to Click using image.

Case 1:
When I tried to use Java 8 Version 171 it is working fine for Lenovo ThinkPad laptops below are configuration of laptop:

1.Window Edition: Window 10 Enterprise.
2.Processor: Intel(R) Core(TM) i5-8350U CPU @ 1.70GHz 1.90 GHz
3.Memory: 8.00 GB (7.88 GB Usable)
4.System Type: 64-Bit Operating system, x64-based processor

Case 2:

When I tried to upgrade Java 8 Version to 211 and 241 it is not clicking on image instead of that it is clicking on below axis of screen.
CLICK on L(702,311)@S(0)[0,0 1280x720] (539 msec)

Laptop Configuartion used is:
1. Window Edition: Window 10 Enterprise.
2.Processor: Intel(R) Core(TM) i5-8350U CPU @ 1.70GHz 1.90 GHz
3.Memory: 8.00 GB (7.88 GB Usable)
4.System Type: 64-Bit Operating system, x64-based processor

Note: I have tried to use different images still its is clicking on same axis of screen, whereas type function of sikul is working fine.

Case 3:
when I tried to use same images to click on Dell laptops it is working fine as expected for all JAVA 8 version of 171,211 and 241.
Below is configuration of Dell laptop:

1. Window Edition: Window 10 Enterprise.
2.Processor: Intel(R) Core(TM) i5-7300U CPU @ 2.60GHz 2.71 GHz
3.Memory: 8.00 GB (7.88 GB Usable)
4.System Type: 64-Bit Operating system, x64-based processor
5.Latutude 5290

Question information

Language:
English Edit question
Status:
Answered
For:
Sikuli Edit question
Assignee:
No assignee Edit question
Last query:
2020-03-12
Last reply:
2020-03-12
RaiMan (raimund-hocke) said : #1

Have you tried with Java 13?

... but this definitely is not a SikuliX problem.

... and use the latest stable SikuliX 2.0.2

Ravina Ingole (ravina24) said : #2

Yes I have tried with Java 13 and SikuliX 2.0.2.Still it is showing us the same error as before. Please let us know if their is any other work around for this.

RaiMan (raimund-hocke) said : #3

What about monitor setup?

Any special settings (scaling, ...)?

Ravina Ingole (ravina24) said : #4

No I have not done any specific setting in my laptop, Below is the Scale and Layout I am using in my laptop:

1.Display resolution : 1920*1080
2.Display Orientation: Landscape
3.Size of text, app, and other item: 150%

I am using Lenovo ThinkPad laptops below are configuration of laptop:

1.Window Edition: Window 10 Enterprise.
2.Processor: Intel(R) Core(TM) i5-8350U CPU @ 1.70GHz 1.90 GHz
3.Memory: 8.00 GB (7.88 GB Usable)
4.System Type: 64-Bit Operating system, x64-based processor

RaiMan (raimund-hocke) said : #5

--- 3.Size of text, app, and other item: 150%

I guess this is the cause.

There is a general problem with Java AWT Robot (internally used for screenshots) with Java 9+ on Windows 10.
Seems that this is now true also for the latest Java 8.

may be related: https://bugs.launchpad.net/sikuli/+bug/1730645

Can you help with this problem?

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

To post a message you must log in.