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

Bug #1882227 reported by Parsawit Deshwattanatham on 2020-06-05
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Sikuli
Medium
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) on 2020-06-08
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
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers