gnome-terminal max_size and resize looses 1 row and 1 colomn

Bug #1946733 reported by Bernhard Riegler
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnome-terminal (Ubuntu)
New
Undecided
Unassigned

Bug Description

I installed "xterm" to get utility "resize" and have a comparison between 2 terminal programs.
xterm works. between the "resize" commands is double click on top bar (max.size, restore)
bernie@prod:~$ resize
COLUMNS=80;
LINES=24;
export COLUMNS LINES;
bernie@prod:~$ resize
COLUMNS=80;
LINES=24;
export COLUMNS LINES;
bernie@prod:~$ resize
COLUMNS=80;
LINES=24;
export COLUMNS LINES;
---------------------------- stable columns,lines with xterm
gnome-terminal has a bug. again (max.size, restore) with double-click on top bar.
bernie@prod:~$ resize
COLUMNS=80;
LINES=24;
export COLUMNS LINES;
bernie@prod:~$ resize
COLUMNS=79;
LINES=23;
export COLUMNS LINES;
bernie@prod:~$ resize
COLUMNS=78;
LINES=22;
export COLUMNS LINES;
----------------with every cycle the gnome-terminal looses 1 row and 1 column
gnome-terminal info reports version 3.36.2
platform is ubuntu 20.04 LTS
bernie@prod:~$ lsb_release -rd
Description: Ubuntu 20.04.3 LTS
Release: 20.04
bernie@prod:~$ apt-cache policy gnome-terminal
gnome-terminal:
  Installiert: 3.36.2-1ubuntu1~20.04
  Installationskandidat: 3.36.2-1ubuntu1~20.04
  Versionstabelle:
 *** 3.36.2-1ubuntu1~20.04 500
        500 http://de.archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages
        100 /var/lib/dpkg/status
     3.36.1.1-1ubuntu1 500
        500 http://de.archive.ubuntu.com/ubuntu focal/main amd64 Packages
please fix the gnome-terminal size shrinking and restore the same size as before
thanks

Revision history for this message
Bernhard Riegler (riegler-b) wrote :

I assume an "integer division" cut down
my HW monitor has a screen resolution of 1920 x 1200 pixel.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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