GNOME Bugzilla – Bug 346222
Window doesn't resize when the tab field disappears
Last modified: 2006-10-12 06:13:57 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?
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?
This seems to be a dup of bug 324426.
Martin, can you still see this? The patch in bug 324426 is in 2.16.
*** This bug has been marked as a duplicate of 324426 ***