#10801 HIGH 11.2.0-: Friends tray is not right on sharer

Zarro Boogs per Child bugtracker at laptop.org
Mon Jun 20 07:04:59 EDT 2011


#10801: Friends tray is not right on sharer
------------------------------+---------------------------------------------
           Reporter:  erikos  |       Owner:  erikos                           
               Type:  defect  |      Status:  new                              
           Priority:  high    |   Milestone:  11.2.0-M4                        
          Component:  sugar   |     Version:  Development build as of this date
         Resolution:          |    Keywords:  collaboration                    
        Next_action:  code    |    Verified:  0                                
Deployment_affected:          |   Blockedby:                                   
           Blocking:          |  
------------------------------+---------------------------------------------

Comment(by erikos):

 Ok, I have been looking closer to what we did in 0.84. As we were
 listening to the toolkit's activity presence service we were able to track
 'buddy-left' and 'buddy-joined' from the activity. The activity itself
 listens on member changes on the text channel of the activity to determine
 if a buddy left or joined.

 In the shell we only listen for member changes on the connection atm, in
 order to track the presence of buddies in general. I have done a quick
 test if we can as well track the member changes per activity like we do in
 the toolkit. It works as expected but it adds a bit of code and I would
 have to restructure model/neighborhood.py quite a bit.

 A quick/temporary fix would be to listen for current-buddy-changed in the
 frame. Which is not fully right and different to what we had before. For
 example:

 - A shares an activity

 - B joins it

 - as the current activity of B changes this is tracked on A and B is added
 to the Frame of A

 - if B now switches to another activity he is removed from the Frame of A
 even so he does not leave the activity (stops it)

-- 
Ticket URL: <http://dev.laptop.org/ticket/10801#comment:4>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system


More information about the Bugs mailing list