Scrollbars escape the bottom and right side of the Terminal window by 1px

Bug #1691678 reported by Daniel van Vugt on 2017-05-18
44
This bug affects 11 people
Affects Status Importance Assigned to Milestone
GNOME Terminal
Fix Released
Unknown
gnome-terminal (Ubuntu)
Low
Unassigned
gtk+3.0 (Ubuntu)
Low
Unassigned
ubuntu-themes (Ubuntu)
Low
Unassigned
yaru-theme (Ubuntu)
Low
Unassigned

Bug Description

Ubuntu's orange overlay scrollbars escape the bottom of the window during resizing.

To reproduce try gnome-shell on artful using the Ambiance theme. Open a Terminal window and resize it vertically, quickly. Notice the bottom of the overlay scrollbar overruns the bottom of the window.

ProblemType: Bug
DistroRelease: Ubuntu 17.10
Package: gnome-shell 3.24.2-0ubuntu3
ProcVersionSignature: Ubuntu 4.10.0-20.22-generic 4.10.8
Uname: Linux 4.10.0-20-generic x86_64
ApportVersion: 2.20.5-0ubuntu3
Architecture: amd64
Date: Thu May 18 15:28:33 2017
DisplayManager: lightdm
GsettingsChanges:
 b'org.gnome.shell' b'app-picker-view' b'uint32 1'
 b'org.gnome.shell' b'favorite-apps' b"['firefox.desktop', 'org.gnome.Terminal.desktop', 'rhythmbox.desktop', 'org.gnome.Nautilus.desktop', 'org.gnome.Software.desktop', 'yelp.desktop']"
 b'org.gnome.desktop.interface' b'gtk-im-module' b"'gtk-im-context-simple'"
 b'org.gnome.desktop.interface' b'scaling-factor' b'uint32 1'
InstallationDate: Installed on 2017-05-03 (15 days ago)
InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Alpha amd64 (20170502)
SourcePackage: gnome-shell
UpgradeStatus: No upgrade log present (probably fresh install)

Daniel van Vugt (vanvugt) wrote :
Changed in overlay-scrollbar (Ubuntu):
importance: Undecided → Medium
Adolfo Jayme (fitojb) wrote :

The package overlay-scrollbar hasn’t been used in GTK+ 3 applications for a long time

affects: overlay-scrollbar (Ubuntu) → gtk+3.0 (Ubuntu)
Jeremy Bicha (jbicha) on 2017-06-10
affects: gnome-shell (Ubuntu) → gnome-terminal (Ubuntu)

Confirmed the same bug with Adwaita. In fact it's worse in Adwaita -- the overlay scrollbar can end up overrunning the right and bottom edges of the window after resizing finishes.

summary: - Ubuntu's orange overlay scrollbars escape the bottom of the window
- during resizing
+ Overlay scrollbars escape the bottom of the Terminal window during
+ resizing
tags: added: cosmic
summary: - Overlay scrollbars escape the bottom of the Terminal window during
- resizing
+ Scrollbars escape the bottom and right side of the Terminal window

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

Changed in gnome-terminal (Ubuntu):
status: New → Confirmed
Changed in gtk+3.0 (Ubuntu):
status: New → Confirmed
Daniel van Vugt (vanvugt) wrote :

Still a problem in Ubuntu 18.10 cosmic.

tags: added: bionic
summary: - Scrollbars escape the bottom and right side of the Terminal window
+ Scrollbars escape the bottom and right side of the Terminal window by
+ 1px
amano (jyaku) wrote :

Is this an upstream issue (does Fedora show that behavior as well?) or the outcome of a Debian patch? There is at least one which is scrollbar related:

+ Add scrollbar-background-theming.patch:
      - Draw background under the scrollbar that matches the actual terminal
        background color. This allows proper theming.

https://lists.canonical.com/archives/cosmic-changes/2018-September/009594.html

amano (jyaku) wrote :

https://4.bp.blogspot.com/-CKw5ikw4WNo/WWo7WrezseI/AAAAAAAAKC4/CPbs48OQj0A2hMNY5_Ivu6iTaRzClDYMQCLcBGAs/s1600/07%2BGNOME%2BTerminal.jpg

This is a gnome-terminal screenshot from Fedora 26. There everything seems ok. Can we drop the Debian patch above to see if that fixes the issue?

Didier Roche (didrocks) wrote :

Are you sure this is due to the above patch, can you try without it?

amano (jyaku) wrote :

Nope. Not completely sure, sorry. I didn't compile GNOME apps before, so that would probably be a rather heavy task for me ;) I had a quick look at the 3.30.0 source but couldn't even find out which lines were changed by the Debian patch. Aren't the patches included within the source tar?

mbrennwa (mbrennwa) wrote :

This issue is still there in in the current beta of Ubuntu 19.04 (Gnome 3.32 with Adwaita).

amano (jyaku) wrote :

Adwaita? What about Yaru?

Daniel van Vugt (vanvugt) wrote :

In 19.04 right now the bug appears with Adwaita but not with Yaru. That doesn't mean it's a theme bug though -- it might be a universal bug and something about the Yaru design is hiding it.

tags: added: disco
Changed in gtk+3.0 (Ubuntu):
importance: Medium → Low

I confirm the previous suspicion: This is _not_ an upstream bug. Upstream gnome-terminal draws the scrollbar perfectly.

This bug is introduced by one of the Ubuntu patches.

upstream bug report confirms that this is a bug in Ubuntu:

https://gitlab.gnome.org/GNOME/gnome-terminal/issues/132

Daniel van Vugt (vanvugt) wrote :
Changed in yaru-theme (Ubuntu):
status: New → Fix Released
importance: Undecided → Low
Changed in ubuntu-themes (Ubuntu):
importance: Undecided → Low
status: New → Confirmed
Changed in gnome-terminal:
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

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