[Bugs] #1301 UNSP: Paltte isn't being closed if after activating subwidgets

SugarLabs Bugs bugtracker-noreply at sugarlabs.org
Tue Sep 8 09:14:36 EDT 2009


#1301: Paltte isn't being closed if after activating subwidgets
------------------------------------------+---------------------------------
    Reporter:  alsroot                    |          Owner:  erikos                     
        Type:  defect                     |         Status:  new                        
    Priority:  Unspecified by Maintainer  |      Milestone:  Unspecified by Release Team
   Component:  sugar-toolkit              |        Version:  Unspecified                
    Severity:  Unspecified                |       Keywords:                             
Distribution:  Unspecified                |   Status_field:  Unconfirmed                
------------------------------------------+---------------------------------
 This issue could be reproduced with menus:
 * open palette with menu(palette for Journal entries)
 * open submenu("Resume with")
 * move cursor to newly opened submenu
 * move cursor away from menu/palette
 * palette wasn't closed
 or with comboboxes.

 {{{
     def __enter_notify_event_cb(self, widget, event):
         if event.detail != gtk.gdk.NOTIFY_INFERIOR and \
                 event.mode == gtk.gdk.CROSSING_NORMAL:
             self.on_enter(event)

     def __leave_notify_event_cb(self, widget, event):
         if event.detail != gtk.gdk.NOTIFY_INFERIOR and \
                 event.mode == gtk.gdk.CROSSING_NORMAL:
             self.on_leave(event)
 }}}

 This code doesn't invoke on_enter/on_leave correctly for previously
 mentioned situations.

-- 
Ticket URL: <http://dev.sugarlabs.org/ticket/1301>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list