← Back to team overview

sikuli-driver team mailing list archive

[Bug 1573564] [NEW] Location.getRobotForPoint don't return good robot

 

Public bug reported:

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

** 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/1573564

Title:
  Location.getRobotForPoint don't return good robot

Status in Sikuli:
  New

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


Follow ups