This is an internal design decision. This method is protected and hence
not relevant for the outside world.

The overall design was changed to use only ONE Robot object for all
Screens.

** Changed in: sikuli
       Status: New => Invalid

** Summary changed:

- Location.getRobotForPoint don't return good robot
+ [1.1.0] Location.getRobotForPoint don't return good robot

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

Title:
  [1.1.0] Location.getRobotForPoint don't return good robot

Status in Sikuli:
  Invalid

Bug description:
    protected IRobot getRobotForPoint(String action) {
      if (getScreen() == null) {
        Debug.error("Point %s outside any screen not useable for %s", this, 
action);
        return null;
      }
      if (!getScreen().isOtherScreen()) {
        getScreen().showTarget(this);
      }
      return Screen.getMouseRobot();
  //    return getScreen().getRobot();
    }

  
  ==> Why does The last line has been commented?
  it's the good way of returning the robot ...

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

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to