After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 556406 - Tomboy opens multiple context menus over its icon
Tomboy opens multiple context menus over its icon
Status: RESOLVED FIXED
Product: tomboy
Classification: Applications
Component: General
0.13.x
Other Windows
: Normal normal
: ---
Assigned To: Tomboy Maintainers
Tomboy Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-10-15 13:26 UTC by Dmitry
Modified: 2009-03-08 18:00 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
The screenshot of the bug (6.75 KB, image/png)
2008-10-15 13:30 UTC, Dmitry
Details

Description Dmitry 2008-10-15 13:26:55 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.
Comment 1 Dmitry 2008-10-15 13:30:14 UTC
Created attachment 120641 [details]
The screenshot of the bug

Here is the screenshot showing the bug.
Comment 2 Sandy Armstrong 2008-10-15 13:45:34 UTC
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.
Comment 3 Benjamin Podszun 2009-01-27 21:28:59 UTC
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?
Comment 4 Sandy Armstrong 2009-01-27 21:53:29 UTC
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. :-)
Comment 5 Sandy Armstrong 2009-03-08 18:00:25 UTC
Fixed in r2416.