← Back to team overview

sikuli-driver team mailing list archive

[Bug 1760167] [NEW] Match.target(); not being set or not being returned when Match object is returned through a function

 

Public bug reported:

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

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

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

Status in Sikuli:
  New

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 manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1760167/+subscriptions


Follow ups