gnome-terminal maximize then un-maximize shrinks one pixel

Bug #1877039 reported by Matze
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
gnome-terminal (Ubuntu)
Confirmed
Low
Unassigned

Bug Description

If I open a new terminal ('ctrl-alt-t' or from the run menu), then maximize and un-maximize i get odd behavior. maximize does fine, but then clicking the 'un-maximize' does restore the terminal window to the previous size *minus* 1 pixel in each horizontal and vertical.
If i repeat that, each time the terminal size shrinks by 1 pixel.

I'd expect that it return it to the size it was before maximize.

I found a similar bug in "Bug #1521302" from a few years ago

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: gnome-terminal 3.36.1.1-1ubuntu1
ProcVersionSignature: Ubuntu 5.4.0-29.33-generic 5.4.30
Uname: Linux 5.4.0-29-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.11-0ubuntu27
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: ubuntu:GNOME
Date: Wed May 6 09:05:32 2020
InstallationDate: Installed on 2020-04-30 (5 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
SourcePackage: gnome-terminal
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Matze (plowidal) wrote :
summary: - gnome-terminal maximize then un-maximize behaves odd
+ gnome-terminal maximize then un-maximize shrinks one pixel
Changed in gnome-terminal (Ubuntu):
importance: Undecided → Low
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gnome-terminal (Ubuntu):
status: New → Confirmed
Revision history for this message
Yibo Cai (cyb70289) wrote :

Met with exactly same issue after upgrading from 18.04 to 20.04.

Revision history for this message
Yibo Cai (cyb70289) wrote :

Find a workaround in this link: https://gitlab.gnome.org/GNOME/gnome-terminal/-/issues/129

Run below command and restart gnome-termianl, works for me.

dconf write /org/gnome/terminal/legacy/headerbar '@mb false'

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.