[2.0.4] Alt+shift+c won't work with onAppear/observe

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

Bug Description

Version : Sikulix IDE 2.0.4
OS : Window 10

OnAppear requires observe to make it work. I use it right, it works very well but ALT+SHIFT+C won't stop the running script. I did press ALT+SHIFT+C several times but it seems still running on background ( Can check through Task Manager). I tried run any other functions, features, etc. and ALT+SHIFT+C still working, I guess when you put "OnAppear"+"observe" in the script it won't stop after ALT+SHIFT+C.

UPDATE:
ALT+SHIFT+C won't work when it is observing

For example:

R = (someregion)

def bigoof(event): ALT+SHIFT+C still working
   click(pic) ALT+SHIFT+C still working
   event.repeat() ALT+SHIFT+C still working

if has(picture, 1): ALT+SHIFT+C still working
   click(picture) ALT+SHIFT+C still working

R.onAppear(picture, bigoof) ALT+SHIFT+C still working
R.observe(10) ALT+SHIFT+C Not working for 10 seconds

if you change time on observe to forever(ALT+SHIFT+C won't work depend on how long observe is)
observe(FOREVER) ALT+SHIFT+C Not working forever

description: updated
description: updated
RaiMan (raimund-hocke)
Changed in sikuli:
status: New → In Progress
importance: Undecided → Medium
assignee: nobody → RaiMan (raimund-hocke)
milestone: none → 2.0.5
summary: - Alt+shift+c won't stop the program when using "OnAppear" with "observe"
+ [2.0.4] Alt+shift+c won't work with onAppear/observe
RaiMan (raimund-hocke)
Changed in sikuli:
status: In Progress → Fix Committed
importance: Medium → High
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.