[Bugs] #428 UNSP: connect('map') to activity widow not to current canvas

SugarLabs Bugs bugtracker-noreply at sugarlabs.org
Tue Feb 24 13:39:38 EST 2009


#428: connect('map') to activity widow not to current canvas
------------------------------------------+---------------------------------
    Reporter:  alsroot                    |          Owner:  marcopg    
        Type:  defect                     |         Status:  new        
    Priority:  Unspecified by Maintainer  |      Milestone:  0.84       
   Component:  sugar-toolkit              |        Version:  0.83.x     
    Severity:  Unspecified                |     Resolution:             
    Keywords:  r?                         |   Distribution:  Unspecified
Status_field:  Unconfimed                 |  
------------------------------------------+---------------------------------

Comment(by wadeb):

 Be careful with this one - I realized early on that 'read_file' was called
 by 'set_canvas' and took care in my activities' startup code to respect
 that.

 IE, don't initialize the default state *after* calling set_canvas.

 That said, I *think* that everything will work fine if read_file is called
 after the activity's __init__ returns.

 And I agree that this change makes sense, it was always a "gotcha".

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


More information about the Bugs mailing list