← Back to team overview

sikuli-driver team mailing list archive

[Bug 1882227] Re: [2.0.4] Alt+shift+c won't work with onAppear/observe

 

** Changed in: sikuli
       Status: In Progress => Fix Committed

** Changed in: sikuli
   Importance: Medium => High

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1882227

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

Status in Sikuli:
  Fix Committed

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1882227/+subscriptions


References