GNOME Bugzilla – Bug 756024
Geometry problems with 0px padding
Last modified: 2021-06-10 15:06:34 UTC
~/.config/gtk-3.0/gtk.css: VteTerminal { padding: 0px 0px 0px 0px; } gnome-terminal, as well as ./src/vte-2.91: In Unity, when I start to resize them (or open a second g-t tab and then close it) the window srinks vertically to just a few lines, and from that moment on I can't normally resize it. Works correctly in gnome-shell, though. xterm with no padding (~/XTerm -> *internalBorder: 0), as well as ./src/testvte: Works correctly in both WMs. At this point it could be a bug in vte, gtk, unity...?
Still present in Artful beta with current g-t. Cannot reproduce the bug with the new testapp "./src/app/vte-2.91". (I begin with a font size change to enable geometry, to work around bug 787710 comment 9.)
Unfortunately this bug is still present, wasn't fixed by bug 787710's fix. We should test other WMs as well. If it's only buggy under Unity then I'm absolutely fine with WONTFIX as it's getting deprecated by Ubuntu anyways.
Current status, on Ubuntu Cosmic with Unity 7, vte and g-t from git: The config file ~/.config/gtk-3.0/gtk.css has to be updated to: vte-terminal { padding: 0px 0px 0px 0px; } Vertical shrinking occurs if the window contains no other contents than VTE itself vertically. That is, the top and bottom margins are both 0, old-fashioned server-side decorated window is used, and (as it's in Unity by default) the menu bar isn't shown in the window either. Horizontal shrinking occurs if the window contains no other contenst that VTE itself horizontally. That is, the left and right margins are both 0, and the scrollbar is hidden. In the mean time, xterm doesn't work as expected without a padding aka internal border either. Upon the first resize event, a 1px internal border appears on the right and bottom. (Maybe this was the behavior when I originally reported this, too, but I just didn't realize it.)
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/vte/-/issues/2235.