← Back to team overview

sikuli-driver team mailing list archive

[Bug 906835] Re: Matching does not always return best match with find()

 

** Changed in: sikuli
       Status: New => Opinion

** Changed in: sikuli
     Assignee: (unassigned) => RaiMan (raimund-hocke)

-- 
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:
  Opinion

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