GNOME Bugzilla – Bug 556406
Tomboy opens multiple context menus over its icon
Last modified: 2009-03-08 18:00:25 UTC
Windows XP SP3 Revision 2221. When clicking on a Tomboy icon in the tray, the small menu opens. The problem is that multiple menus can be opened at a time. Steps to reproduce: 1. Start Tomboy. 2. Left-click on its icon in the tray. Notice the menu with Notebooks and Search. 3. Right click on Tomboy icon in the tray. Notice the menu with the Help and Preferences opens over the previous. Result: 2 menus are open simultaneously. You can click more times and open even more menus.
Created attachment 120641 [details] The screenshot of the bug Here is the screenshot showing the bug.
Yeah, this is a pain, thanks for filing. This could be a windows-a-like to bug #549153. Ideas/patches for working around it are welcome, like keeping a static reference to a single menu, or something.
Looking into this it seems to me that the real bug is that popup menus aren't closed properly as soon as they are deactivated. As a matter of fact: Activating other applications doesn't even send a deactivate event to the menu. Asking in freenode/#gtk+ for help I was referred to this article: http://support.microsoft.com/?scid=kb;en-us;135788&x=15&y=8 I'm trying to experiment with the content of that article, but my experience with GTK(#) is very, very limited. So anyone else able to look into this?
Sounds like a good lead. Not sure if the best fix would actually need to go into the Windows implementation of the gtk+ StatusIcon, but if we can do a work-around that would be cool. This is probably one of the last things I will look at before 0.14.0, so if anybody feels like playing around with it, be my guest. :-)
Fixed in r2416.