GNOME Bugzilla – Bug 658760
Menubar always shown despite being disabled by default
Last modified: 2011-10-23 16:52:17 UTC
Hi, git master as of today. I have "Show menubar by default" disabled for my default profile, but nevertheless whenever I start a new terminal window the menubar is always shown. gnome-terminal's setting for hiding is true though; the boolean View→Show Menubar is unchecked and it takes two toggles of my show/hide shortcut to make it hide. Cheers, Iain
I can confirm this bug exists in both the current master and 3.0.1 that ships with Ubuntu 11.10. The terminal_window_set_menubar_visible function seems to do its job and is being called with the correct values, but it seems to me like it's being called too early. As an example, try changing terminal-window.c:2534 to g_object_set (priv->menubar, "visible", FALSE, NULL); and the menubar will still appear on startup. I know nothing about GNOME programming, so I can't give any more information. Thanks, Eric
When did this bug get introduced? I don't recall seeing it under gnome 3.0.x. However, under Ubuntu 11.10, we're still using gnome-terminal 3.0.1 with Gnome3 elsewhere. Gsettings-desktop-schemas 3.2.0, dconf 0.5.1, gnome-session 3.2.1 (in oneiric-proposed).
It looks like the bug here is with Ubuntu's appmenu plugin. Remove appmenu-gtk3 or unset UBUNTU_MENUPROXY in your environment, and it works properly. Filed in launchpad: https://bugs.launchpad.net/ubuntu/+source/appmenu-gtk/+bug/879190
*** Bug 662525 has been marked as a duplicate of this bug. ***