gnome terminal intercepts my alt key combinations when it shouldn't

Bug #875070 reported by gabriel russell on 2011-10-15
This bug affects 27 people
Affects Status Importance Assigned to Milestone
AppMenu GTK+
GNOME Terminal
gnome-terminal (Ubuntu)

Bug Description

If I'm logged in to the "Gnome classic" interface then the "Show menubar" option is not respected and my alt key combinations get intercepted.
If I'm logged in to the Ubuntu interface then you can't turn off the menubar and my alt key combinations are always intercepted.

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: gnome-terminal 3.0.1-0ubuntu3
ProcVersionSignature: Ubuntu 3.0.0-12.20-generic-pae 3.0.4
Uname: Linux 3.0.0-12-generic-pae i686
ApportVersion: 1.23-0ubuntu3
Architecture: i386
Date: Sat Oct 15 10:49:38 2011
ExecutablePath: /usr/bin/gnome-terminal
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release i386 (20101007)
 PATH=(custom, no user)
SourcePackage: gnome-terminal
UpgradeStatus: Upgraded to oneiric on 2011-10-14 (1 days ago)
 (gnome-settings-daemon:2132): GLib-CRITICAL **: g_variant_new_string: assertion `string != NULL' failed
 (gnome-panel:2150): Gtk-CRITICAL **: gtk_orientable_get_orientation: assertion `GTK_IS_ORIENTABLE (orientable)' failed
 (gnome-panel:2150): Gtk-CRITICAL **: gtk_orientable_get_orientation: assertion `GTK_IS_ORIENTABLE (orientable)' failed
 (nautilus:2158): Gtk-CRITICAL **: gtk_action_set_visible: assertion `GTK_IS_ACTION (action)' failed
 (nautilus:2158): Gtk-CRITICAL **: gtk_action_set_visible: assertion `GTK_IS_ACTION (action)' failed

Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gnome-terminal (Ubuntu):
status: New → Confirmed
Dario Manesku (dariomanesku) wrote :

It affects me too on Awesome WM...
When i start gnome-terminal with --hide-menubar, the menu bar still pop ups a few moments after terminal starts. When i press right click it's showing like it's not activated. Then if i activate it, and deactivate it again (using the right click menu on the terminal) it disappears in the end, but I can't start the gnome-terminal without it.

I hope i have helped... I am really looking forward to see this bug fixed as I don't want to switch to using another terminal emulator but I don't like the gnome one like this either...

Flair (aurelz) wrote :

I am also experiencing this annoying bug since the upgrade to 11.10.

Is there a work around for it until it's fixed?

Pedro Villavicencio (pedro) wrote :

Thank you for your bug report. This bug has been reported to the developers of the software. You can track it and make comments at:

Changed in gnome-terminal (Ubuntu):
importance: Undecided → Medium
status: Confirmed → Triaged
Changed in gnome-terminal:
importance: Unknown → Medium
status: Unknown → New
Edward Faulkner (ef) wrote :

The gnome bug is already closed as NOTGNOME, because this is an Ubuntu-specific problem.

Changed in gnome-terminal:
status: New → Unknown
David Hedberg (david-hedberg) wrote :

Still happens for me here (running gnome-shell).

Enabling and then disabling the menu bar again through the in-window context menu makes it go away, but this needs to be repeated for every new window.

Uninstalling appmenu-gtk (having already uninstalled appmenu-gtk3 without improvement) seems to fix the problem.

AaronSherman (ajs-ajs) wrote :

So, the linked gnome bug has this to say:

"I found a posted workaround that seams to have fixed the problem: sudo apt-get remove appmenu-gtk3 appmenu-gtk appmenu-qt"

followed up with: "Alright, if that makes the bug disappear, it's NOTGNOME. The ubuntu 'global menu' stuff is NOT supported; removing it is the right thing to do!"

So... is this going to be a case of both teams pointing at each other, or is there someone that supports the appmenu/gnome-terminal integration that can track this down and definitively determine who needs to fix it?

Olli Ries (ories) on 2012-03-27
Changed in appmenu-gtk:
importance: Undecided → Wishlist
Bilal Akhtar (bilalakhtar) wrote :

On Unity, my Alt key combinations are NOT intercepted when the Edit->Keyboard Shortcuts->Menu Access keys option is unchecked.

Changed in appmenu-gtk:
status: New → Incomplete
David Hedberg (david-hedberg) wrote :

This bug is unrelated to the Enable menu access keys option under Keyboard Shortcuts and not limited to Unity. When the menu bar is hidden, the keys are not intercepted. The problem (for me at least) was that gnome-terminal didn't seem to respect the "Show menubar by default in new terminals" option when running gnome-shell. You had to toggle it "on" and then off again to actually hide it.

That said, I can't seem to reproduce this any more using the current beta of 12.04. Manually installing appmenu-gtk and appmenu-gtk3 again still leaves me with a gnome-terminal that properly respects the option. Can anyone else confirm this?

Daniel (dansul) wrote :

"When the menu bar is hidden, the keys are not intercepted. " wrong, they are intercepted. This bug is a couple of years old and still not fixed.

Changed in appmenu-gtk:
status: Incomplete → Confirmed
status: Confirmed → Incomplete
Changed in gnome-terminal (Ubuntu):
status: Triaged → Confirmed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.