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 528915 - menubar and scrollbar visibility in new windows
menubar and scrollbar visibility in new windows
Status: RESOLVED DUPLICATE of bug 513553
Product: gnome-terminal
Classification: Core
Component: Profiles
2.22.x
Other Linux
: Normal minor
: ---
Assigned To: GNOME Terminal Maintainers
GNOME Terminal Maintainers
: 545657 550227 562110 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2008-04-19 15:02 UTC by Andrew Starr-Bochicchio
Modified: 2008-11-24 11:00 UTC
See Also:
GNOME target: ---
GNOME version: 2.21/2.22


Attachments
show menubar and scrollbar in a window created by dragging a tab only when needed (427 bytes, patch)
2008-04-19 21:47 UTC, Andrew Starr-Bochicchio
none Details | Review

Description Andrew Starr-Bochicchio 2008-04-19 15:02:12 UTC
Reported on Launchpad:

"
In gnome-terminal's default profile I have set both the menubar and the scrollbar to invisible. If I create a new window with the context menu's "Open terminal" menuitem, then neither the menubar nor the scrollbar are shown in the new window, which is just fine.

However, if I create a new window by dragging a tab to the root window, then both the menubar and the scrollbar are shown in the newly created window.

ProblemType: Bug
Architecture: i386
Date: Sat Apr 19 15:10:10 2008
DistroRelease: Ubuntu 8.04
ExecutablePath: /usr/bin/gnome-terminal
Package: gnome-terminal 2.22.1-0ubuntu2
PackageArchitecture: i386
ProcEnviron:
 PATH=/home/username/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=en_US.UTF-8
 SHELL=/bin/bash
 LC_PAPER=de_DE.UTF-8
SourcePackage: gnome-terminal
Uname: Linux 2.6.24-16-generic i686"

https://bugs.edge.launchpad.net/ubuntu/+source/gnome-terminal/+bug/219575
Comment 1 Andrew Starr-Bochicchio 2008-04-19 21:47:36 UTC
Created attachment 109562 [details] [review]
show menubar and scrollbar in a window created by dragging a tab only when needed  

Patch by Gábor Szeder
Comment 2 Andrew Starr-Bochicchio 2008-04-19 21:48:07 UTC
From Launchpad:

"If a new terminal window is created by dragging a tab to the root
window, then both the menubar and the scrollbar are shown in the newly
created window, even if they should be hidden according to the current
profile.

This happens because after this drag-drop-new window sequence
notebook_page_added_callback() calls gtk_widget_show_all() on the newly
created window widget, although the visibility of all its child widgets
were explicitly set by gtk_widget_(show|hide)() according to the current
profile.

This fixes #208535 in Launchpad and #528915 in Gnome bugzilla.

Signed-off-by: SZEDER Gábor <szeder@ira.uka.de>
---
 src/terminal-window.c | 2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)"
Comment 3 Christian Persch 2008-05-29 21:39:03 UTC

*** This bug has been marked as a duplicate of 513553 ***
Comment 4 Christian Persch 2008-07-31 12:03:37 UTC
*** Bug 545657 has been marked as a duplicate of this bug. ***
Comment 5 Christian Persch 2008-09-01 14:47:05 UTC
*** Bug 550227 has been marked as a duplicate of this bug. ***
Comment 6 Christian Persch 2008-11-24 11:00:44 UTC
*** Bug 562110 has been marked as a duplicate of this bug. ***