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 627511 - menu items cannot be activated on tearoff menus
menu items cannot be activated on tearoff menus
Status: RESOLVED OBSOLETE
Product: gtk+
Classification: Platform
Component: Widget: Other
2.21.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2010-08-20 16:03 UTC by Pedro Villavicencio
Modified: 2014-06-12 12:34 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Fix activation of menu items in tearoff (1.00 KB, patch)
2014-06-12 12:34 UTC, Ron Yorston
none Details | Review

Description Pedro Villavicencio 2010-08-20 16:03:50 UTC
this report has been filed here:

https://bugs.edge.launchpad.net/ubuntu/+source/gimp/+bug/619432

"Gimp has a feature that let's you tear off menus that appear when you are right-clicking on the canvas. This is described here:
http://docs.gimp.org/2.6/en/menus.html#tear-off-menus

For Ubuntu 10.04 items under a tearoff menu will not be activated. Items in the sub-menu of a tear off menu will however be activated. In previous versions (of Ubuntu) this worked well.

Current workaround is simply to use item from the ordinary menu from the top. But this is loss of a documented functionality and also making it a bit more cumbersome to work with the Gimp."
Comment 1 Sven Neumann 2010-08-22 19:53:07 UTC
Certainly not a GIMP issue since it works for me and there is nothing GIMP specific about tearoff menus. You might want to file a bug report against GTK+.
Comment 2 Pedro Villavicencio 2010-08-23 19:16:54 UTC
Thank you Sven, i'll reassign this to gtk+ for now.
Comment 3 Igor 2010-09-18 15:12:34 UTC
This affects me too.
There is an ubuntu bug filed:
https://bugs.launchpad.net/ubuntu/+source/gtk+2.0/+bug/619432
Comment 4 Paul Howarth 2011-03-09 14:04:40 UTC
Also present in Fedora since Fedora 13:

https://bugzilla.redhat.com/show_bug.cgi?id=603717
Comment 5 Emmanuele Bassi (:ebassi) 2011-10-01 07:23:18 UTC
tearoff menus have been deprecated in gtk 3.1
Comment 6 Michalis Kamburelis 2012-01-08 05:56:06 UTC
This also bites my view3dscene project (https://sourceforge.net/p/castle-engine/tickets/3/).

1. Isn't there any chance this will be fixed at least for some GTK 2 version?

2. Tear-off menus are quite comfortable for my application, as I think for all programs with deep menu structure (like GIMP). Inventing a different UI for this (like a sidebar with options) essentially means that I have to implement something that tear-off menus (used to) perform nicely and give me for free. In short: is there no chance to un-deprecate tear-off menus? Is there a known simple alternative to tear-off menus?
Comment 7 Ron Yorston 2014-06-12 12:34:03 UTC
Created attachment 278336 [details] [review]
Fix activation of menu items in tearoff

The bug was introduced in commit 7491e9e.  This was on the 2.90 branch but Fedora have been carrying a patch to GTK+ 2 since 2.20.  The same patch is present in RHEL 6.5 and I'll raise the issue separately with Red Hat.