[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 99098] Kmenu context menu does not disappear when parent menu
From:       Stefan Nikolaus <stefan.nikolaus () kdemail ! net>
Date:       2005-02-12 13:14:38
Message-ID: 20050212131438.988.qmail () ktown ! kde ! org
[Download RAW message or body]

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
         
http://bugs.kde.org/show_bug.cgi?id=99098         
stefan.nikolaus kdemail net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From stefan.nikolaus kdemail net  2005-02-12 14:14 -------
CVS commit by nikolaus: 

close context menu, if the parent menu is hidden or on an additional click in the menu

not perfect, because context menu stays when you right click on an item in a submenu

BUG: 99098


  M +6 -0      service_mnu.cpp   1.94


--- kdebase/kicker/ui/service_mnu.cpp  #1.93:1.94
 @ -597,4 +597,7  @ void PanelServiceMenu::mouseReleaseEvent
     }
 
+    delete popupMenu_;
+    popupMenu_ = 0;
+
     KPanelMenu::mouseReleaseEvent(ev);
 }
 @ -798,4 +801,7  @ void PanelServiceMenu::slotClose()
         slotClear();
     }
+    
+    delete popupMenu_;
+    popupMenu_ = 0;
 }
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic