sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #48967
[Bug 1797985] Re: [1.1.4] Screen.newRegion() should return a Region object --- fixed 2018-10-17
** Summary changed:
- newRegion does not work from Screen
+ [1.1.4] Screen.newRegion() should return a Region object --- fixed 2018-10-17
** 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.4
--
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:
[1.1.4] Screen.newRegion() should return a Region object --- fixed
2018-10-17
Status in Sikuli:
Fix Committed
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
References