← Back to team overview

sikuli-driver team mailing list archive

[Bug 1797985] [NEW] newRegion does not work from Screen

 

Public bug reported:

As it seems only Screen.newRegion(Location,width,heith) works.
As it seems also from the code

at line 454
  @Override
  public Region newRegion(Region reg) {
    return null;
}

or line 476
  @Override
  public Region newRegion(int x, int y, int w, int h) {
    return null;
}

I presume that a line similar to 451 is needed.
Lines are from  SikuliX1/API/src/main/java/org/sikuli/script/Screen.java

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

Title:
  newRegion does not work from Screen

Status in Sikuli:
  New

Bug description:
  As it seems only Screen.newRegion(Location,width,heith) works.
  As it seems also from the code

  at line 454
    @Override
    public Region newRegion(Region reg) {
      return null;
  }

  or line 476
    @Override
    public Region newRegion(int x, int y, int w, int h) {
      return null;
  }

  I presume that a line similar to 451 is needed.
  Lines are from  SikuliX1/API/src/main/java/org/sikuli/script/Screen.java

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


Follow ups