#4612 HIGH Update.: Sugar doesn't notice activities failing to launch

Zarro Boogs per Child bugtracker at laptop.org
Thu Nov 22 04:15:28 EST 2007


#4612: Sugar doesn't notice activities failing to launch
---------------------+------------------------------------------------------
  Reporter:  cjb     |       Owner:  rwh     
      Type:  defect  |      Status:  new     
  Priority:  high    |   Milestone:  Update.1
 Component:  sugar   |     Version:          
Resolution:          |    Keywords:          
  Verified:  0       |  
---------------------+------------------------------------------------------

Comment(by rwh):

 Ah, of course. But can't we do a gobject.child_watch_add(pid) in Rainbow,
 and then inform the shell that the process has ended by calling something
 like Shell.NotifyProcessFinished? If the shell has not found a window by
 then, the activity failed to launch, right? (except for cases where the
 process spawns a subprocesses in the background, so maybe we still need a
 timeout anyway).

 For now we can add a timeout that triggers a launch_timedout() call
 automatically after about a minute. Does that time sound right?

-- 
Ticket URL: <http://dev.laptop.org/ticket/4612#comment:9>
One Laptop Per Child <http://dev.laptop.org>
OLPC bug tracking system



More information about the Bugs mailing list