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

SugarLabs Bugs bugtracker-noreply at sugarlabs.org
Wed Feb 25 12:58:45 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 alsroot):

 Replying to [comment:7 tomeu]:
 > If I remember correctly, read_file is called in the canvas map handler
 because Write could set the file to load before abiwidget was mapped.
 >
 > This patch would break it because the main window is mapped before its
 children, though maybe abiwidget has been fixed since.
 I tried start_new/load_jobject with git Write and it works w/o any
 critical difference

 > Anyway, I think that the idea is to call read_file after the activity
 has been set up, but before anything has drawn on the screen. Other
 suggestions?
 but attached patch doesn't break this idea

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


More information about the Bugs mailing list