gnome-terminal patched resize behavior

Joe Marcus Clarke marcus at marcuscom.com
Sun Aug 24 16:35:09 UTC 2008


On Sun, 2008-08-24 at 23:54 +0800, Jia-Shiun Li wrote:
> Hi,
> 
> I've since a while noticed that when I changed the font size of
> gnome-terminal, it does not resize window as in Fedora. Recently I dug
> a little and found that it was because of a patch in ports:
> 
> http://www.freebsd.org/cgi/cvsweb.cgi/ports/x11/gnome-terminal/files/patch-src_terminal-screen.c?rev=1.3
> 
> this patch prevents gnome-terminal from resizing when switching tabs.
> To me, the patched behavior is more strange than auto-resize.
> 
> Consider the usage:
> 
> open window
> ctrl-shift-T to open another tab,
> ctrl-shift-s-= to zoom-in
> alt-1 to switch back to first tab
> 
> The vanilla behavior keeps term size of each tab the same (say 80x24),
> resize the window.
> Patched version keeps window size, reduce the term size (without
> gnome-terminal realizing it. try zooming-in and resize the window to
> see how the displayed term size changes).
> 
> This is a decision whether to resize the term or the window when you
> have terminal tabs sharing the same application window but each have
> different font and term size. I think the original behavior makes more
> senses. So I reverted the patch for my personal use.
> 
> Any comments?

This patch has been pulled in the upcoming GNOME 2.24 release, but
vanilla behavior looks to have been changed to the patched behavior.

Joe

-- 
PGP Key : http://www.marcuscom.com/pgp.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-gnome/attachments/20080824/818fa5c3/attachment.pgp


More information about the freebsd-gnome mailing list