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 658760 - Menubar always shown despite being disabled by default
Menubar always shown despite being disabled by default
Status: RESOLVED NOTGNOME
Product: gnome-terminal
Classification: Core
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: GNOME Terminal Maintainers
GNOME Terminal Maintainers
: 662525 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2011-09-11 18:58 UTC by Iain Lane
Modified: 2011-10-23 16:52 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Iain Lane 2011-09-11 18:58:19 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
Comment 1 Eric Jiang 2011-10-20 02:45:08 UTC
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
Comment 2 Jeremy Nickurak 2011-10-20 16:59:17 UTC
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).
Comment 3 Danielle Madeley 2011-10-21 02:09:34 UTC
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
Comment 4 Christian Persch 2011-10-23 16:52:17 UTC
*** Bug 662525 has been marked as a duplicate of this bug. ***