[1.1.0] with Region not working properly --- fixed 1.1.1 2016-06-18+

Bug #1591132 reported by RaiMan on 2016-06-10
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

I'm wondering why this code does not work:

CenterScreen = Region(423,178,1165,377)

def findInRegion():
    with CenterScreen:
        if exists(barras[1]) or exists(barras[1]) :
            return getLastMatch()
    return False

Instead of using the specified region it uses the implicit SCREEN region.
In my experience the with clause has never worked fine.


RaiMan (raimund-hocke) wrote :

I will check.

Changed in sikuli:
status: New → Opinion
importance: Undecided → Medium
assignee: nobody → RaiMan (raimund-hocke)
milestone: none → 1.1.1
RaiMan (raimund-hocke) wrote :

I think I fixed it now (hopefully finally ;-)

Changed in sikuli:
status: Opinion → Fix Committed
importance: Medium → Critical
summary: - [1.1.0] with Region not working properly
+ [1.1.0] with Region not working properly --- fixed 1.1.1 2016-06-18+
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Related questions