#3487 NORM Trial-3: Palette closes when one hovers in the submenu

Zarro Boogs per Child bugtracker at laptop.org
Sun Sep 16 08:55:15 EDT 2007


#3487: Palette closes when one hovers in the submenu
---------------------+------------------------------------------------------
  Reporter:  benzea  |       Owner:  marco  
      Type:  defect  |      Status:  new    
  Priority:  normal  |   Milestone:  Trial-3
 Component:  sugar   |     Version:         
Resolution:          |    Keywords:         
  Verified:  0       |  
---------------------+------------------------------------------------------

Comment(by benzea):

 It seems to be really fun ...

 I do understand the underlying issue, but I have no idea how to fix it
 right now.

 So here is what happens in the normal case (see documentation of
 GdkNotifyType for some details):
  1. mouse moves from the invoker to the palette
   * enter notify with NONLINEAR is fired
  2. mouse moves from the palette into the menu subwindow
   * leave notify with INFERIOR gets fired
  3. mouse moves from the menu into the submenu
   * nothing gets fired

 The other case is like this:
  1. mouse moves from the invoker directly to the menu in the palette (too
 fast to go over the palette window)
   * enter notify with NONLINEAR_VIRTUAL is fired
  2. mouse moves from the menu to the submenu
   * leave notify with NONLINEAR_VIRTUAL is fired (I don't understand why
 this does not happen in the first case.)

 The first though I had was that we could ignore the NONLINEAR_VIRTUAL
 leave. But this does not work either. As we also get a NONLINEAR_VIRTUAL
 leave if the mouse leaves from the menu to outside the palette directly.
 And ignoring that ones means the palette does not close again.

-- 
Ticket URL: <https://dev.laptop.org/ticket/3487#comment:5>
One Laptop Per Child <https://dev.laptop.org>
OLPC bug tracking system



More information about the Bugs mailing list