← Back to team overview

sikuli-driver team mailing list archive

[Bug 780937] Re: X-1.0rc2: exact() information is lost in GUI on reopening --- workaround

 

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

** Changed in: sikuli
    Milestone: x1.0-rc3 => x1.0

** Changed in: sikuli
   Importance: Undecided => Low

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

Title:
  X-1.0rc2: exact() information is lost in GUI on reopening ---
  workaround

Status in Sikuli:
  Fix Committed

Bug description:
  **** workaround:
  use similar(0.99) instead
  ----------------------------------------------

  When a pattern is defined as exact match using 1.0 similarity in GUI, the image gets "1.0" marker and the .py file contains the following source:
    img = Pattern("img.png").exact()

  However, if you save and reopen Sikuli, the "1.0" marker is lost, and
  click on image resets similarity slider to a value of 0.7. This
  creates big trouble when debugging, because engine still matches the
  picture as exact() match and if PS doesn't have exact similarity,
  Matching Preview will show that there is no match until you move
  slider.

  Vista 32.

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


References