← Back to team overview

sikuli-driver team mailing list archive

[Bug 1572181] [NEW] Mouse.java use static "Screen" instead of one given by location

 

Public bug reported:


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();

** Affects: sikuli
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1572181

Title:
  Mouse.java use static "Screen" instead of one given by location

Status in Sikuli:
  New

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();

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1572181/+subscriptions


Follow ups