Activity log for bug #1201280

Date Who What changed Old value New value Message
2013-07-15 06:14:47 RaiMan bug added bug
2013-07-15 06:15:13 RaiMan sikuli: status New Fix Committed
2013-07-15 06:15:17 RaiMan sikuli: importance Undecided High
2013-07-15 06:15:20 RaiMan sikuli: assignee RaiMan (raimund-hocke)
2013-07-15 06:15:24 RaiMan sikuli: milestone 1.1.0
2013-07-15 06:24:00 RaiMan description my purpose is to deal w/ 1 button which will appear several times in a game(actually it is the angrybird game) ,then i used the onappear()/observe() but ir can just deal w/ the 1 time the button shows ,following shows can not be deal ,below is my test code , what i think is that it can deal each time when button shows until the script end. below is my test code : def myHandler(event): click("1373853815762.png") wait(5) Settings.ObserveScanRate=1 onAppear(("1373853815762.png"),myHandler) observe(FOREVER,background = True) for i in range(1,5000): print "testing....." wait(5) --- no easy workaround for background observe For those who know Python: start a thread with a repeated foreground observe Will be fixed with the service update end July already. ------------------------------------- my purpose is to deal w/ 1 button which will appear several times in a game(actually it is the angrybird game) ,then i used the onappear()/observe() but ir can just deal w/ the 1 time the button shows ,following shows can not be deal ,below is my test code , what i think is that it can deal each time when button shows until the script end. below is my test code :  def myHandler(event):     click("1373853815762.png")     wait(5) Settings.ObserveScanRate=1 onAppear(("1373853815762.png"),myHandler) observe(FOREVER,background = True) for i in range(1,5000):     print "testing....."     wait(5)
2013-07-15 06:24:06 RaiMan summary OnAppear()/observe() only works the first time for one image in same region [1.0] OnAppear()/observe() only works the first time for one image in same region
2013-07-16 15:05:37 RaiMan sikuli: importance High Critical
2013-07-16 15:06:05 RaiMan description --- no easy workaround for background observe For those who know Python: start a thread with a repeated foreground observe Will be fixed with the service update end July already. ------------------------------------- my purpose is to deal w/ 1 button which will appear several times in a game(actually it is the angrybird game) ,then i used the onappear()/observe() but ir can just deal w/ the 1 time the button shows ,following shows can not be deal ,below is my test code , what i think is that it can deal each time when button shows until the script end. below is my test code :  def myHandler(event):     click("1373853815762.png")     wait(5) Settings.ObserveScanRate=1 onAppear(("1373853815762.png"),myHandler) observe(FOREVER,background = True) for i in range(1,5000):     print "testing....."     wait(5) --- fixed with 1.0.1 --- no easy workaround for background observe For those who know Python: start a thread with a repeated foreground observe Will be fixed with the service update end July already. ------------------------------------- my purpose is to deal w/ 1 button which will appear several times in a game(actually it is the angrybird game) ,then i used the onappear()/observe() but ir can just deal w/ the 1 time the button shows ,following shows can not be deal ,below is my test code , what i think is that it can deal each time when button shows until the script end. below is my test code :  def myHandler(event):     click("1373853815762.png")     wait(5) Settings.ObserveScanRate=1 onAppear(("1373853815762.png"),myHandler) observe(FOREVER,background = True) for i in range(1,5000):     print "testing....."     wait(5)
2013-07-18 05:03:55 RaiMan tags fkt-observe
2013-08-14 13:54:05 RaiMan summary [1.0] OnAppear()/observe() only works the first time for one image in same region [1.0.1 ok] OnAppear()/observe() only works the first time for one image in same region
2015-06-01 08:51:38 RaiMan description --- fixed with 1.0.1 --- no easy workaround for background observe For those who know Python: start a thread with a repeated foreground observe Will be fixed with the service update end July already. ------------------------------------- my purpose is to deal w/ 1 button which will appear several times in a game(actually it is the angrybird game) ,then i used the onappear()/observe() but ir can just deal w/ the 1 time the button shows ,following shows can not be deal ,below is my test code , what i think is that it can deal each time when button shows until the script end. below is my test code :  def myHandler(event):     click("1373853815762.png")     wait(5) Settings.ObserveScanRate=1 onAppear(("1373853815762.png"),myHandler) observe(FOREVER,background = True) for i in range(1,5000):     print "testing....."     wait(5) --- fixed with 1.1.0 see the docs: http://sikulix-2014.readthedocs.org/en/latest/region.html#observing-visual-events-in-a-region for how to repeat onAppear()/onVanish() in the same observe run --------------------------------------------------------------- my purpose is to deal w/ 1 button which will appear several times in a game(actually it is the angrybird game) ,then i used the onappear()/observe() but ir can just deal w/ the 1 time the button shows ,following shows can not be deal ,below is my test code , what i think is that it can deal each time when button shows until the script end. below is my test code :  def myHandler(event):     click("1373853815762.png")     wait(5) Settings.ObserveScanRate=1 onAppear(("1373853815762.png"),myHandler) observe(FOREVER,background = True) for i in range(1,5000):     print "testing....."     wait(5)
2015-06-01 08:52:21 RaiMan summary [1.0.1 ok] OnAppear()/observe() only works the first time for one image in same region [1.0.1] OnAppear()/observe() only works the first time for one image in same region