[Sugar-devel] Problem rejoining a shared Write

J.M. Maurer uwog at uwog.net
Sun Sep 6 13:47:53 EDT 2009


On Sun, 2009-09-06 at 16:40 +0200, J.M. Maurer wrote:
> On Sun, 2009-09-06 at 10:09 -0400, Benjamin M. Schwartz wrote:
> > J.M. Maurer wrote:
> > > While testing with salut, I now seem to be running into sugar bugs:
> > > 
> > > 1. Start an activity
> > > 2. Join the activity
> > > 3. Close the activity on the initiator side
> > > 4. Click on the activity from the donut on the initiator side to rejoin
> > > it
> > 
> > Could you clarify step 4?  Why didn't you go to the Neighborhood View to
> > rejoin? 
> 
> Because then you hit another bug: as soon as you go to the Neighborhood
> after having closed a shared activity, the view is empty (at least
> here).
> 
> So, given that clicking on a colored Write in the donut makes it connect
> to the tube again, I'd expect that the activity is actually aware of
> this.
> 
> > Did you create a fresh instance or did you resume a saved instance?
> > 
> > > => This 'creates' a new activity instead of joining it, as
> > > self._shared_activity is not set to true.
> > 
> > Is it set to False?  self._shared_activity can take on many non-False values.
> 
> It is set to None.

To add: the 'shared' signal was even fired, when I'm clearly trying to
reconnect to a tube. I would expect a 'joined' signal to be fired.

  Marc



More information about the Sugar-devel mailing list