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 779572 - Incorrect size on Wayland
Incorrect size on Wayland
Status: RESOLVED OBSOLETE
Product: vte
Classification: Core
Component: general
0.46.x
Other Linux
: Normal normal
: ---
Assigned To: VTE Maintainers
VTE Maintainers
Depends on:
Blocks:
 
 
Reported: 2017-03-04 14:54 UTC by Gerald Nunn
Modified: 2021-06-10 15:19 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Gerald Nunn 2017-03-04 14:54:33 UTC
When you use the vte-terminal-set-size method to set the initial size of the terminal it works fine on X11, however on Wayland it seems to add 2-3 extra rows to the terminal. So for example, if I specify an initial size of 120x30, on Wayland I actually get 120x33.

I've tested this with terminix, xfce-terminal (GTK3 version) and terminator (GTK3 version) and they all have the same issue. Testing with gnome-terminal however shows that it is working fine, however I suspect this is because gnome-terminal is doing the size calculation itself instead of relying on VTE to do it. This can be seen in terminal_window_update_geometry and terminal_window_update_size in terminal-window.c in gnome-terminal.

This was originally reported by a terminix user here:

https://github.com/gnunn1/terminix/issues/809
Comment 1 Christian Persch 2017-04-30 20:49:17 UTC
If you use vte_terminal_get_geometry_hints() or vte_terminal_set_geometry_hints_for_window(), this is expected since they weren't updated with the same patches that gnome-terminal got for fixing window sizing (bug 769898).
Comment 2 Gerald Nunn 2017-04-30 23:07:17 UTC
I'm not using either of the geometry methods, in the tested case the user specifies the default size of the terminal in the profile and then it passes those to vte-terminal-set-size. So I don't think the geometry methods are causing this problem since it is essentially passing in hard-coded values.
Comment 3 GNOME Infrastructure Team 2021-06-10 15:19:25 UTC
-- 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/2378.