← Back to team overview

sikuli-driver team mailing list archive

[Bug 906835] Re: Match does not always work

 

Sikuli version? (rc3 should do it!)

If rc3:
please provide a screenshot and a pattern where this happens.

** Summary changed:

- Match does not always work
+ Matching does not always return best match with find()

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/906835

Title:
  Matching does not always return best match with find()

Status in Sikuli:
  New

Bug description:
  Running on Ubuntu 10.10 64-bit.
  Calling find() or click() does not always return the best match.
  This can be seen in the pattern settings (target offset) as well as in an application.
  If findAll() is called and the list printed out, the best match always appears first (correctly)
  and the matching preview in the pattern settings also displays the best match correctly.

  I can use code such as

  def findBest(PS):
      m = findAll(PS)
      return m.next()

  to replace find(), though this is slower

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/906835/+subscriptions


References