← Back to team overview

sikuli-driver team mailing list archive

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

 

thanks for finding

** Changed in: sikuli
       Status: New => Fix Committed

** Changed in: sikuli
   Importance: Undecided => Critical

** Changed in: sikuli
     Assignee: (unassigned) => RaiMan (raimund-hocke)

** Changed in: sikuli
    Milestone: None => 1.1.1

** Summary changed:

- 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+

-- 
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 ---
  fixed 1.1.1 2016-04-27+

Status in Sikuli:
  Fix Committed

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


References