[Bugs] #461 UNSP: Sometimes an activity will not start

SugarLabs Bugs bugtracker-noreply at sugarlabs.org
Fri Apr 3 14:33:07 EDT 2009


#461: Sometimes an activity will not start
------------------------------------------+---------------------------------
    Reporter:  erikos                     |          Owner:  erikos           
        Type:  defect                     |         Status:  new              
    Priority:  Unspecified by Maintainer  |      Milestone:  0.84             
   Component:  sugar                      |        Version:  Git as of bugdate
    Severity:  Blocker                    |     Resolution:                   
    Keywords:  r?                         |   Distribution:  Unspecified      
Status_field:  New                        |  
------------------------------------------+---------------------------------
Changes (by alsroot):

  * keywords:  => r?


Comment:

 there is a race condition between ActivateActivity()[1] invoking from
 sugar-toolkit/src/sugar/activity/activityfactory.py:_launch_activity() and
 add_launcher()[2] invoking from
 sugar/src/jarabe/view/palettes.py:__start_activate_cb():

 - [2] creates new launcher window
 - this window could be(still) not-registered before invoking [1]

 attached patch adds workaround code(for 0.84 release only) - creating
 activity in any case(launcher window was registered or not)

-- 
Ticket URL: <http://dev.sugarlabs.org/ticket/461#comment:5>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list