Bug#649579: Gets terminal size wrong when switching between tabs with different font sizes while maximized
Josh Triplett
josh at joshtriplett.org
Tue Sep 15 17:50:44 UTC 2015
Version: 3.16.2-1
I can still reproduce this with gnome-terminal 3.16.2-1, with the added
complication that sometimes the spurious size changes don't actually
result in the right updates in the programs running in the terminal.
Exact steps to reproduce:
1) Open gnome-terminal.
2) Maximize the gnome-terminal window.
3) Open a program that cares about screen size, such as vim. To make it
more obvious what vim thinks the screen size is, you may want "set
laststatus=2" to create a status line above the command area;
however, you can also just type ':' to leave a prompt on the last
line.
4) Open a second tab (Ctrl-Shift-T with the default keybindings).
5) In the second tab, increase the font size by a few steps with Ctrl-+.
6) Switch back to the first tab.
Notice that the terminal-oriented application in the first tab thinks
the screen has gotten smaller, to the width and height of the second
tab.
This reproduces 100% of the time for me, but in theory it *might* be a
race condition with the sending of multiple SIGWINCHes. Nonetheless,
the right fix is still to stop resizing the terminal at all.
See https://bugzilla.gnome.org/show_bug.cgi?id=731137 upstream.
- Josh Triplett
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.1.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages gnome-terminal depends on:
ii dconf-gsettings-backend [gsettings-backend] 0.24.0-2
ii gconf-service 3.2.6-3
ii gnome-terminal-data 3.16.2-1
ii gsettings-desktop-schemas 3.16.1-1
ii libatk1.0-0 2.16.0-2
ii libc6 2.19-20
ii libcairo-gobject2 1.14.2-2
ii libcairo2 1.14.2-2
ii libdconf1 0.24.0-2
ii libgconf-2-4 3.2.6-3
ii libgdk-pixbuf2.0-0 2.31.5-1
ii libglib2.0-0 2.44.1-1.1
ii libgtk-3-0 3.16.6-1
ii libnautilus-extension1a 3.14.2-1
ii libpango-1.0-0 1.36.8-3
ii libpangocairo-1.0-0 1.36.8-3
ii libuuid1 2.27-1
ii libvte-2.91-0 0.40.2-2
ii libx11-6 2:1.6.3-1
Versions of packages gnome-terminal recommends:
ii dbus-x11 1.10.0-2
ii gvfs 1.24.2-1
ii yelp 3.16.1-1
gnome-terminal suggests no packages.
-- no debconf information
More information about the pkg-gnome-maintainers
mailing list