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 625297 - Items in torn-off menus don't work
Items in torn-off menus don't work
Status: RESOLVED NOTGNOME
Product: gtk+
Classification: Platform
Component: Widget: GtkMenu
2.20.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2010-07-26 10:13 UTC by Yeti
Modified: 2010-07-26 13:27 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Test case (1.08 KB, text/x-csrc)
2010-07-26 10:13 UTC, Yeti
Details

Description Yeti 2010-07-26 10:13:21 UTC
Created attachment 166571 [details]
Test case

Items in menus that were torn-off don't emit "activate".

This can be tested e.g. on The GIMP or the attached example program.  If you click on "Select Me!" in non-torn-off state, it prints "Activated" to the terminal.  It does nothing if the menu is torn-off, i.e. the "activated" signal is not emitted.

Gtk+ 2.20.1 (as released by Fedora gtk2-2.20.1-1.fc13.x86_64).
Comment 1 Yeti 2010-07-26 13:07:35 UTC
I compiled Gtk+ 2.20.1 from source and torn-off menus work with it.  So it looks like just the Fedora version is broken.

However, originally I got a bugreport about broken tear-off menus for my app on Ubuntu 10.04.  So eiher both distros break Gtk+ similarly or there's something fishy going on.
Comment 2 Yeti 2010-07-26 13:27:00 UTC
I have found the patch in Fedora that causes this, so I'm reporting there.  Sorry for bothering...