Mouse.java use static "Screen" instead of one given by location --- fixed 1.1.1 2016-04-27+

Bug #1572181 reported by David ENJOLRAS on 2016-04-19
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Sikuli
Critical
RaiMan

Bug Description

in the
Mouse.hjava code,
we can see :

r = Screen.getMouseRobot();

==> This will always use the "Sceen" implementation, whatever if the user create another kind of screen ( like a VNCScreen )

It will be better to act on the screen defined by the location.

IScreen ScreenfromLocation = null ;
ScreenfromLocation = loc.getScreen();
r = ScreenfromLocation.getRobot();

RaiMan (raimund-hocke) wrote :

thanks for finding

Changed in sikuli:
status: New → Fix Committed
importance: Undecided → Critical
assignee: nobody → RaiMan (raimund-hocke)
milestone: none → 1.1.1
summary: - Mouse.java use static "Screen" instead of one given by location
+ Mouse.java use static "Screen" instead of one given by location ---
+ fixed 1.1.1 2016-04-27+
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Related questions