After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 640460 - shrinking terminal on tab switch
shrinking terminal on tab switch
Status: RESOLVED FIXED
Product: vte
Classification: Core
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: VTE Maintainers
VTE Maintainers
: 642258 642432 645540 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2011-01-24 19:27 UTC by Matthias Clasen
Modified: 2011-11-23 22:42 UTC
See Also:
GNOME target: 3.0
GNOME version: ---



Description Matthias Clasen 2011-01-24 19:27:29 UTC
gnome-terminal is shrinking on every tab switch.

krh tracked this down to inner-border not being set right, and came up with a patch that fixes it:

http://pkgs.fedoraproject.org/gitweb/?p=vte3.git;a=blob;f=honey-I-shrank-the-terminal.patch;h=f8f19db62ed62e694883c21bddd09a039f26b17c;hb=b0113ba86869a6f3132432aa822e26247f1fb163
Comment 1 Christian Persch 2011-01-24 19:43:14 UTC
Looks fine, in principle.

The thing I _don't_ like is to create a new style provider for each instance of VteTerminal; I'd prefer to have a way to attach a style provider to the class instead so it applies automatically to each instance of the class. That would require gtk API.
Comment 2 Matthias Clasen 2011-01-24 21:38:26 UTC
See gtk_style_provider_add_provider_for_screen
Comment 3 Christian Persch 2011-02-02 17:46:53 UTC
Fixed on master.
Comment 4 Saleem Abdulrasool 2011-02-14 00:07:49 UTC
*** Bug 642258 has been marked as a duplicate of this bug. ***
Comment 5 Christian Persch 2011-02-16 13:09:45 UTC
*** Bug 642432 has been marked as a duplicate of this bug. ***
Comment 6 Christian Persch 2011-03-31 10:18:55 UTC
*** Bug 645540 has been marked as a duplicate of this bug. ***
Comment 7 Paul Sladen 2011-11-23 22:28:56 UTC
The "fix" for this appears to have made all of the terminals 2 pixels wider, preventing getting two 80x25 terminals side-by-side on a 1280 pixel screen (8 pixels per cell):

  "Increased terminal padding under precise: 160 columns of 8-pixel wide no longer fit … on 1280 pixel display"
  https://bugs.launchpad.net/ubuntu/+source/vte/+bug/893174
Comment 8 Christian Persch 2011-11-23 22:42:01 UTC
The fix (not "fix") here made the gtk3 terminal actually have the border as specified; it is correct.