Match.target(); not being set or not being returned when Match object is returned through a function

Bug #1760167 reported by Mike Bedwell on 2018-03-30
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Sikuli
Undecided
Unassigned

Bug Description

matchOfSomething=someFunctionThatReturnsMatch(Region);
System.out.println("matchOfSomething.toString());

The output is:
M[1438,135 142x22]@S(S(0)[0,0 1680x1050]) S:1.00 T:1020,594 [718 msec]

Location l=matchOfSomething.getTarget();
System.out.println(l.toString());

The output is:
L(1020,594)@S(0)[0,0 1680x1050]

Target is set to a location that is not within the bounds of the Match's region.

Using Sikulix api with java, version 1.1.2

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers