[2.0.1] Seeing [error] RobotDesktop: checkMousePosition

Bug #1854949 reported by Tony May
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
SikuliX
Fix Released
High
RaiMan

Bug Description

tracked on GitHub: https://github.com/RaiMan/SikuliX1/issues/314
------------------------------------------------------

I am occasionally seeing this error in my script output:

[error] RobotDesktop: checkMousePosition: should be L[376,239]@S(0)
but after move is L[375,238]@S(0)
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.

I am running the test as admin and not touching the VM that is running the script.

Revision history for this message
RaiMan (raimund-hocke) wrote :

running on a hiDPI monitor?
what Java version?

summary: - Seeing [error] RobotDesktop: checkMousePosition
+ [2.0.1] Seeing [error] RobotDesktop: checkMousePosition
Changed in sikuli:
importance: Undecided → Medium
assignee: nobody → RaiMan (raimund-hocke)
status: New → In Progress
milestone: none → 2.0.2
Revision history for this message
Tony May (tonymay) wrote :

using Java 10.0.1, I am running in a VM with 1440 x 900 resolution

Revision history for this message
Tony May (tonymay) wrote :

Windows 10 (1903)

I only started seeing this once I moved to Windows 10 and using Java 10+

Revision history for this message
Tony May (tonymay) wrote :

Hello RaiMan, how is the fix for this going?

Revision history for this message
RaiMan (raimund-hocke) wrote :

Sorry, fell down from the table ;-)

Changed in sikuli:
milestone: 2.0.2 → 2.0.4
status: In Progress → Fix Committed
importance: Medium → High
RaiMan (raimund-hocke)
description: updated
Changed in sikuli:
status: Fix Committed → Confirmed
RaiMan (raimund-hocke)
Changed in sikuli:
status: Confirmed → Fix Released
Revision history for this message
Hiram Landeros (gueritol) wrote :

I'm still getting quite a lot of this errors:
[error] RobotDesktop: checkMousePosition: should be L[1839,1294]@S(0) - but is not!
[error] RobotDesktop: checkMousePosition: should be L[167,1313]@S(0) - but is not!
[error] RobotDesktop: checkMousePosition: should be L[502,506]@S(0) - but is not!
Some coordinates constantly return the error, yet it is not tied to being a high(er) x,y value as it happens with small x,y, or large(r) ones.

OS:
11.1 MacOS
Resolution is:
5120 × 2880
Java:
java version "13.0.2" 2020-01-14
Java(TM) SE Runtime Environment (build 13.0.2+8)
Java HotSpot(TM) 64-Bit Server VM (build 13.0.2+8, mixed mode, sharing)

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.