[Bugs] #428 UNSP: connect('map') to activity widow not to current canvas
SugarLabs Bugs
bugtracker-noreply at sugarlabs.org
Wed Feb 25 13:49:41 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 tomeu):
Replying to [comment:8 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
That's nice, but I'm a bit worried about other activities. Checking all of
them can be quite a bit of work.
What if in set_canvas we disconnect the previous handler if there's one
and then connect to the new one?
--
Ticket URL: <http://dev.sugarlabs.org/ticket/428#comment:9>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system
More information about the Bugs
mailing list