[1.1.4] Screen.newRegion() should return a Region object --- fixed 2018-10-17
Bug #1797985 reported by
Gerassimos
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SikuliX |
Fix Released
|
Critical
|
RaiMan |
Bug Description
As it seems only Screen.
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/
summary: |
- 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 |
importance: | Undecided → Critical |
assignee: | nobody → RaiMan (raimund-hocke) |
milestone: | none → 1.1.4 |
Changed in sikuli: | |
status: | Fix Committed → Fix Released |
milestone: | 1.1.4 → 2.0.0 |
To post a comment you must log in.
Thanks for the pointer.
You are right: if it is there, it should return something useable ;-)
Was not aware, that this is of any use for local screens (they are bound to a screen by the coordinates anyways). It is needed for non-local Screens (like VNCScreen, ADBScreen) to create Regions from coordinates and bind them to the the non-local screen objects.