[1.1.4] Transparency: findAll() with mask patterns does not work --- fixed 2018-08-27

Bug #1789080 reported by RaiMan on 2018-08-26
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Sikuli
Critical
RaiMan

Bug Description

code1: worked
code2: FindFailed exception occurred

[code1:]
maskImg = Pattern("cone-mask.png").asMask()
maskedPtn = Pattern("safety-cone.png").withMask(maskImg)
find(maskedPtn).highlight(1,"green")

[code2:]
maskImg = Pattern("cone-mask.png").asMask()
maskedPtn = Pattern("safety-cone.png").withMask(maskImg)
res = findAll(maskedPtn)
while True:
    if res.hasNext():
        m = res.next()
        m.highlight(1,"blue")
    else:
        break

https://photos.app.goo.gl/zj9JQLE8dfi9Wr9w8

RaiMan (raimund-hocke) on 2018-08-26
Changed in sikuli:
status: New → Fix Committed
importance: Undecided → High
assignee: nobody → RaiMan (raimund-hocke)
milestone: none → 1.1.4
RaiMan (raimund-hocke) wrote :

should work with latest build.

summary: - [1.1.4] Transparency: findAll() with mask patterns does not work
+ [1.1.4] Transparency: findAll() with mask patterns does not work ---
+ fixed 2018-08-27
Changed in sikuli:
importance: High → Critical
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers