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

Bug #1591132 reported by RaiMan
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SikuliX
Fix Committed
Critical
RaiMan

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.

Regards

Revision history for this message
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
Revision history for this message
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  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.