[Bugs] #2726 UNSP: Can not connect to school server

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Thu Mar 24 11:09:31 EDT 2011


#2726: Can not connect to school server
------------------------------------------+---------------------------------
    Reporter:  erikos                     |          Owner:             
        Type:  defect                     |         Status:  new        
    Priority:  Unspecified by Maintainer  |      Milestone:  0.92       
   Component:  sugar                      |        Version:  0.92.x     
    Severity:  Critical                   |       Keywords:             
Status_field:  New                        |   Distribution:  Unspecified
   Seeta_dev:                             |  
------------------------------------------+---------------------------------

Comment(by erikos):

 Diagnosis of the no feedback issue:

 Since we
 [http://git.sugarlabs.org/sugar/mainline/blobs/master/src/jarabe/view/buddyicon.py#line32
 do not cache the palette] for the BuddyIcon anymore, we do not cache the
 Owner palette in the Favorites view anymore. The current code wants to
 change the register menu in the palette when successfully registered to
 'register again'. But the palette has been destroyed and therefore this
 attempt fails.


 2 Possible solutions:

 We could just cache the palette of the Owner (patch a) as it has been
 before. The second patch (b) does not cache the palette and rely on the
 create_palette method to setup the palette accordingly on popup.


 Preference:

 As registering (and therefore the change of the palette) happens rather
 seldom compared to the change of a buddy palette in the neighborhood view
 I would vote for patch (a). I think the Owner palette can be considered to
 be mostly static and therefore we can cache it.

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


More information about the Bugs mailing list