X 1.0rc1: [Java] using setROI() a match's region is reported relative to ROI top left, not screen's top left
Bug #711129 reported by
RaiMan
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SikuliX |
Fix Released
|
Critical
|
RaiMan |
Bug Description
based on the related question (thanks topagae (https:/
To confirm, I set the ROI to the app window.
The m.highlight only shows the expected match region, when the Safaris window top left is at the screens top left. In all other cases it is offset with the offset of the window relative to the screen.
--- Java snippet
Screen scr = new Screen();
App aS = new App("Safari");
ImageLocator.
aS.focus();
scr.setRect(
aS.window(
Match m = scr.exists(
m.highlight(2);
Changed in sikuli: | |
status: | Triaged → Fix Committed |
Changed in sikuli: | |
assignee: | nobody → RaiMan (raimund-hocke) |
milestone: | x1.0-rc3 → x1.0 |
tags: | added: fkt-region |
Changed in sikuli: | |
importance: | Medium → Critical |
importance: | Critical → Low |
Changed in sikuli: | |
importance: | Low → High |
Changed in sikuli: | |
importance: | High → Critical |
Changed in sikuli: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Thanks Raiman!