[Bugs] #2184 sugar HIGH: Occasional black Palettes

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Thu Mar 7 00:51:12 EST 2013


#2184: Occasional black Palettes
------------------------+---------------------------------------------------
    Reporter:  carrott  |          Owner:  manuq   
        Type:  defect   |         Status:  assigned
    Priority:  High     |      Milestone:  1.0     
   Component:  sugar    |        Version:  0.98.x  
    Severity:  Major    |       Keywords:  dextrose
Distribution:  Fedora   |   Status_field:  New     
------------------------+---------------------------------------------------

Comment(by manuq):

 I have also checked the size of the widget that the _PaletteWindowWidget
 contains, in case it is getting a null size.  But looks correct too:

 {{{
 @@ -687,6 +694,9 @@ class PaletteWindow(GObject.GObject):
              self.on_leave()

      def __show_cb(self, widget):
 +        child = widget.get_children()[0]
 +        alloc = child.get_allocation()
 +        logging.debug("MANUQ PaletteWindow __show_cb %r", (alloc.width,
 alloc.height))
          if self._invoker is not None:
              self._invoker.notify_popup()
 }}}

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


More information about the Bugs mailing list