[Bugs] #2141 UNSP: Memory and CPU status indicator for the frame.

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Fri Aug 13 03:58:49 EDT 2010

#2141: Memory and CPU status indicator for the frame.
    Reporter:  m_anish                    |          Owner:  tomeu                      
        Type:  enhancement                |         Status:  new                        
    Priority:  Unspecified by Maintainer  |      Milestone:  Unspecified by Release Team
   Component:  sugar                      |        Version:  Unspecified                
    Severity:  Unspecified                |       Keywords:  r! dextrose                
Distribution:  Unspecified                |   Status_field:  Unconfirmed                
Changes (by tomeu):

  * keywords:  r? dextrose => r! dextrose


 Replying to [comment:3 m_anish]:
 > Replying to [comment:2 tomeu]:
 > Thanks for the review.
 > > > +        self.create_palette()
 > >
 > > Why create the palette at this point?
 > The system resources are computed at 5 second intervals. So, if I create
 the palette when the frame is invoked and attempt to view the the resource
 icon's palette immediately, I'll see a palette with two empty progress-
 bars and no text for a few seconds. Note that this will happen only for
 the first time when viewing the frame icon's palette.
 > To overcome this, I create the palette early. So as soon as I attempt to
 view it for the first time, I won't see empty info as in the case above

 Maybe I'm missing something: why not compute the data when the palette is
 first displayed, then update it every 5 seconds until the palette is

Ticket URL: <http://bugs.sugarlabs.org/ticket/2141#comment:4>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system

More information about the Bugs mailing list