menubar and scrollbar visibility in new windows

Bug #219575 reported by sz
18
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GNOME Terminal
Fix Released
Low
gnome-terminal (Ubuntu)
Fix Released
Low
Ubuntu Desktop Bugs

Bug Description

Binary package hint: gnome-terminal

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

Tags: apport-bug
Revision history for this message
sz (szeder) wrote :
Revision history for this message
Andrew Starr-Bochicchio (andrewsomething) wrote :

Thanks for your bug report. I can confirm this issue with version 2.22.1-0ubuntu2 on Hardy.

Changed in gnome-terminal:
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
Andrew Starr-Bochicchio (andrewsomething) wrote :

Forwarded upstream.

Changed in gnome-terminal:
assignee: nobody → desktop-bugs
status: Confirmed → Triaged
Revision history for this message
sz (szeder) wrote : possible fix

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 <email address hidden>
---
 src/terminal-window.c | 2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Changed in gnome-terminal:
status: Unknown → New
Changed in gnome-terminal:
status: New → Invalid
Revision history for this message
Andrew Starr-Bochicchio (andrewsomething) wrote :

The patch was originally forwarded upstream at http://bugzilla.gnome.org/show_bug.cgi?id=528915

That bug was marked as a duplicate of http://bugzilla.gnome.org/show_bug.cgi?id=513553

From upstream bug:

"This problem has been fixed in the development version. The fix will be
available in the next major software release. Thank you for your bug report."

Changed in gnome-terminal:
status: Unknown → Fix Released
Changed in gnome-terminal:
status: Triaged → Fix Committed
Revision history for this message
Sebastien Bacher (seb128) wrote :

the new version is available in ubuntu now

Changed in gnome-terminal:
status: Fix Committed → Fix Released
Changed in gnome-terminal:
importance: Unknown → Low
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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