Terminal resizes when changing tab

Bug #53157 reported by Gustaf
32
Affects Status Importance Assigned to Milestone
GNOME Terminal
Fix Released
High
gnome-terminal (Ubuntu)
Fix Released
Medium
Ubuntu Desktop Bugs

Bug Description

Almost as (http://bugzilla.gnome.org/show_bug.cgi?id=324426) reports, the following works for reproducing the one-line-addition bug:
1. Open a new gnome-terminal
2. Press Ctrl-Shift-T
3. Press Ctrl-D
4. Press Ctrl-Shift-T
Now, every time you select the first tab, a new row is added to the terminal.

Sometimes (I don't know how to reproduce it, using gnome-terminal for every-day usage is probably a good try), it goes nuts and starts resizing about 20 columns and 10 rows every time I change to the first or second tab (out of three or more).

Has been like this for a week or two now. Was the same with the previous version of gnome-terminal. I am now using 2.15.2-0ubuntu1.

Revision history for this message
frogzoo (frogzoo) wrote :

Can confirm:
1. Open a new gnome-terminal
2. Press Ctrl-Shift-t
3. Press Ctrl-d
4. Press Ctrl-Shift-t
Every time you do this, terminal gets bigger by one line.

Changed in gnome-terminal:
status: Unconfirmed → Confirmed
Revision history for this message
frogzoo (frogzoo) wrote :

reportbug-gnome-terminal

Changed in gnome-terminal:
status: Unknown → Confirmed
Changed in gnome-terminal:
assignee: nobody → desktop-bugs
importance: Untriaged → Medium
Changed in gnome-terminal:
status: Confirmed → Fix Released
Revision history for this message
Daniel Holbach (dholbach) wrote :

Fixed upstream.

Changed in gnome-terminal:
status: Confirmed → Fix Committed
Revision history for this message
Daniel Holbach (dholbach) wrote :

 gnome-terminal (2.15.3-0ubuntu1) edgy; urgency=low
 .
   * New upstream release:
     - Fixed Bug "Open/close tab adds row to terminal" (Malone: #53157)
     - Fixed Bug "[patch] Redundant vte_terminal_set_font_full() calls
     - This change, with the respective change in vte-0.13.4, improves g-t's
       startup time around 20%.
   * debian/control.in:
     - bumped vte requirement.

Changed in gnome-terminal:
status: Fix Committed → Fix Released
Revision history for this message
Gustaf (opera) wrote :

It still adds rows and columns every now and then. Maybe not for the simple example above, but still...

Revision history for this message
Gustaf (opera) wrote :

How to make it resize:

1. Open Terminal
2. Resize terminal (make it a bit bigger)
3. Add tab
4. [repeat] Select first tab, select second tab

This is _extremely_ irritating, and it makes gnome-terminal a nightmare to use. I can't understand developers haven't gone mad on this for the last month(s) it's been like this.

Gustaf (opera)
Changed in gnome-terminal:
status: Fix Released → Unconfirmed
Revision history for this message
Daniel Holbach (dholbach) wrote :
Changed in gnome-terminal:
status: Unconfirmed → Confirmed
Changed in gnome-terminal:
status: Fix Released → Confirmed
Revision history for this message
Mika Fischer (zoop) wrote :

I also have this problem in edgy and it's much worse. I didn't even notice the problem in dapper.

But now if I open a terminal, resize it and add two new tabs with CTRL-SHIFT-T, then the second tab will enlarge the window horizontally. Switch back to Tab 1 and the window is further enlarged horizontally and additionally enlarged vertically. This can be repeated until the window is as large as possible (it doesn't exceed the screen).

In this shape gnome-terminal is unusable for me.

Version is: 2.15.4-0ubuntu1

Revision history for this message
Mika Fischer (zoop) wrote :

Interestingly the amount of the enlargement depends upon the amount of resizing done beforehand.

Every tab switch adds the amount of rows and columns that the window has more than the default (80x24 for me).

So if you resize to 81x25 every tab switch enlarges the window by one row and one column...

Revision history for this message
Mateusz Drożdżyński (matid) wrote :

As a temporary solution I can suggest using xfce4-terminal. It's very similar to gnome-terminal and doesn't have this annoying bug. Of course, that's not a long-term solution...

Revision history for this message
Ross Burton (ross) wrote :

I've just upgraded to Edgy and hit this too. I've a feeling I may be install xfce-term so I can get some work done tomorrow...

Revision history for this message
Sebastien Bacher (seb128) wrote :

I've just uploaded a package to edgy without the previous change from that cycle:

 gnome-terminal (2.15.4-0ubuntu2) edgy; urgency=low
 .
   * debian/patches/04_resized_on_tabs_switch.patch:
     - undo upstream change to fix the window size changing on tabs switching
       (Ubuntu: #53157)

Revision history for this message
Mika Fischer (zoop) wrote :

That seems to have fixed it for me. Thanks!

Revision history for this message
Daniel Holbach (dholbach) wrote :

Closing the bug as fixed then.

Changed in gnome-terminal:
status: Confirmed → Fix Released
Changed in gnome-terminal:
status: Confirmed → Fix Released
Revision history for this message
tonyhawz (tonyhawz) wrote :

I can confirm this bug is back again in ubuntu8.04's gnome-terminal 2.22.1

Changed in gnome-terminal:
status: Fix Released → Confirmed
Revision history for this message
Pedro Villavicencio (pedro) wrote :

tonyhawz ; please report a new one instead of opening a more than one year fixed report, thanks.

Changed in gnome-terminal:
status: Confirmed → Fix Released
Changed in gnome-terminal:
importance: Unknown → High
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.