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 555662 - resize-window signal is inconvenient
resize-window signal is inconvenient
Status: RESOLVED FIXED
Product: vte
Classification: Core
Component: general
unspecified
Other Linux
: Normal enhancement
: ---
Assigned To: VTE Maintainers
VTE Maintainers
[fixed-next]
Depends on:
Blocks: vte1.0
 
 
Reported: 2008-10-09 12:01 UTC by Christian Persch
Modified: 2014-04-14 17:45 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement



Description Christian Persch 2008-10-09 12:01:43 UTC
The resize-window signal is emitted to set the vte widget to the specified size. It occurs in 2 contexts, one setting pixel size and one setting grid size. The pixel size is used as-is, the grid size is multiplied with char width/height and added xpad/ypad.
In gnome-terminal, we just have to take the pixel size and reconstruct the grid size from it, inverting the operation above.

I think the resize-window signal should carry grid sizes instead.

Also, why does not vte just set the grid size directly itself and just queues a resize?