GNOME Bugzilla – Bug 627511
menu items cannot be activated on tearoff menus
Last modified: 2014-06-12 12:34:03 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."
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+.
Thank you Sven, i'll reassign this to gtk+ for now.
This affects me too. There is an ubuntu bug filed: https://bugs.launchpad.net/ubuntu/+source/gtk+2.0/+bug/619432
Also present in Fedora since Fedora 13: https://bugzilla.redhat.com/show_bug.cgi?id=603717
tearoff menus have been deprecated in gtk 3.1
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?
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.