[1.1.x] Python scripting: Global SCREEN object does not inherit global FindFailed settings

Bug #1778855 reported by RaiMan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SikuliX
In Progress
High
RaiMan

Bug Description

******************** workaround
After changing the global settings, you have to use
setFindFailedResponse(...)
setFindFailedHandler(...)
with the same settings, to update the settings of global object SCREEN

Another option is, to use
SCREEN = Screen()
afterwards, to force a recreation of the global SCREEN object.
------------------------------------------------------

When using
FindFailed.setResponse and/or FindFailed.setHandler

to specify some global FindFailed handling, then these global settings will not be inherited by the global SCREEN object, because this is instantiated once at IDE start or before scriptrun from commandline.

By design, these settings are only inherited by region objects newly created during scriptrun.

We need a feature to tell SCREEN, that the global FindFailed settings have changed.

RaiMan (raimund-hocke)
Changed in sikuli:
status: New → Fix Committed
importance: Undecided → High
assignee: nobody → RaiMan (raimund-hocke)
milestone: none → 1.1.3
description: updated
RaiMan (raimund-hocke)
description: updated
RaiMan (raimund-hocke)
description: updated
RaiMan (raimund-hocke)
Changed in sikuli:
status: Fix Committed → In Progress
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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