From owner-freebsd-gnome@FreeBSD.ORG Sun Aug 24 16:21:21 2008 Return-Path: Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0F4881065689 for ; Sun, 24 Aug 2008 16:21:21 +0000 (UTC) (envelope-from jiashiun@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.227]) by mx1.freebsd.org (Postfix) with ESMTP id B07DB8FC26 for ; Sun, 24 Aug 2008 16:21:20 +0000 (UTC) (envelope-from jiashiun@gmail.com) Received: by wr-out-0506.google.com with SMTP id c8so754325wra.27 for ; Sun, 24 Aug 2008 09:21:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=n/9BE3Y1BCxHyr35YL5J6cT3kWFXl40s1y1jPESSyw0=; b=SaqQyZLjIM13leIzP68Mf1Htcwg2c5B/DMtzhcHUSuEm4x6qB7TtoCysk7okg5dQ5d rcCWC9Unb1vzMxybsW6Sd8grBW8oLXwyaH1aiUdtVHB+wlOcTF8iV/PYVWbQEi9N6f5Q R758JBmT6gEXjAW0emqMlDPBn3smtnR8A/9bI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=EENi8ZdTEJer3lEEV9HApK2OWoj9elccT5sdY/Zr+ktFb+VYUEXGA1LFxTooimcDJm PYYza3dg4kQPsT1RMe+lmOPGbjHr6OPwCprAcqtlnxnjzWh7vOJU6s1XMIuVigKlfpjF 1yh8PyngtN0rvc97OWn3m5HWPTdRHBP2YtTtk= Received: by 10.90.104.7 with SMTP id b7mr499535agc.98.1219593279957; Sun, 24 Aug 2008 08:54:39 -0700 (PDT) Received: by 10.90.88.4 with HTTP; Sun, 24 Aug 2008 08:54:39 -0700 (PDT) Message-ID: <1d6d20bc0808240854l53bfe471scc52e28dce233527@mail.gmail.com> Date: Sun, 24 Aug 2008 23:54:39 +0800 From: "Jia-Shiun Li" To: freebsd-gnome@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: gnome-terminal patched resize behavior X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Aug 2008 16:21:21 -0000 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? Regards, Jia-Shiun.