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 346222 - Window doesn't resize when the tab field disappears
Window doesn't resize when the tab field disappears
Status: RESOLVED DUPLICATE of bug 324426
Product: gnome-terminal
Classification: Core
Component: general
2.14.x
Other All
: Normal minor
: ---
Assigned To: GNOME Terminal Maintainers
GNOME Terminal Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-06-29 16:12 UTC by Martin Jonsson
Modified: 2006-10-12 06:13 UTC
See Also:
GNOME target: ---
GNOME version: 2.13/2.14



Description Martin Jonsson 2006-06-29 16:12:46 UTC
Please describe the problem:
The gnome-terminal window doesn't resize itself when the tab field is removed, which results in a slightly larger terminal window than before, which in turn changes the number of terminal lines.

Steps to reproduce:
1. Check the number of terminal lines with just one tab open (no tab field).
2. Open a new tab.
3. Check the number of terminal lines (should be the same as in #1).
4. Close one of the tabs so that the tab field disappears.
5. Check the number of terminal lines once more.


Actual results:
The number of terminal lines increases.

Expected results:
The number of terminal lines should remain the same.

Does this happen every time?
Yes.

Other information:
I figured the tab field visibility is controlled in src/terminal-notebook.c: update_tabs_visibility(). That function is merely calling a GTK notebook function though, no manipulation of the window size. Is it a bug in GTK notebook?
Comment 1 Wouter Bolsterlee (uws) 2006-08-10 08:56:54 UTC
Seems to work correctly over here:

1. Open gnome-terminal
2. No tab bar shown
3. "echo $LINES" prints 24
4. Type "seq 1 23" to fill all lines (23 numbers + 1 line for the prompt)
5. Open a new tab, tab bar appears
6. Type "ls" to get some output and "exit" to close the tab
7. First terminal is shown, tab bar disappears
8. Still 24 lines shown.

I'm on gnome-terminal HEAD... maybe this bug is already fixed?
Comment 2 Eric Anderson 2006-09-21 21:54:42 UTC
This seems to be a dup of bug 324426.
Comment 3 Mariano Suárez-Alvarez 2006-10-12 05:08:36 UTC
Martin, 

can you still see this? The patch in bug 324426 is in 2.16.
Comment 4 Martin Jonsson 2006-10-12 06:13:57 UTC

*** This bug has been marked as a duplicate of 324426 ***