From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?Jan_Dj=E4rv?= Newsgroups: gmane.emacs.devel Subject: Re: Shrinking frames as of past month Date: Fri, 28 Mar 2008 11:35:41 +0100 Message-ID: <47ECC9FD.3080007@swipnet.se> References: <47E4F3A7.1080305@swipnet.se> <87bq552k9h.fsf@grepfind.mwolson.org> <6161f3180803280233h7b4b9f3bn9bee4c0a610928da@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1206700598 14939 80.91.229.12 (28 Mar 2008 10:36:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 28 Mar 2008 10:36:38 +0000 (UTC) Cc: Michael Olson , emacs-devel@gnu.org To: "Andrew W. Nosenko" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Mar 28 11:37:08 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JfBws-0000By-KQ for ged-emacs-devel@m.gmane.org; Fri, 28 Mar 2008 11:36:38 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JfBwH-0007T4-7X for ged-emacs-devel@m.gmane.org; Fri, 28 Mar 2008 06:36:01 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JfBw9-0007Si-Vs for emacs-devel@gnu.org; Fri, 28 Mar 2008 06:35:54 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JfBw8-0007SF-V0 for emacs-devel@gnu.org; Fri, 28 Mar 2008 06:35:53 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JfBw8-0007S9-8R for emacs-devel@gnu.org; Fri, 28 Mar 2008 06:35:52 -0400 Original-Received: from av7-1-sn3.vrr.skanova.net ([81.228.9.181]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JfBw4-0007aP-3m; Fri, 28 Mar 2008 06:35:48 -0400 Original-Received: by av7-1-sn3.vrr.skanova.net (Postfix, from userid 502) id 774173801C; Fri, 28 Mar 2008 11:32:01 +0100 (CET) Original-Received: from smtp3-1-sn3.vrr.skanova.net (smtp3-1-sn3.vrr.skanova.net [81.228.9.101]) by av7-1-sn3.vrr.skanova.net (Postfix) with ESMTP id 43B3A37FD5; Fri, 28 Mar 2008 11:32:01 +0100 (CET) Original-Received: from husetbladh.homeip.net (90-231-102-24-no59.tbcn.telia.com [90.231.102.24]) by smtp3-1-sn3.vrr.skanova.net (Postfix) with ESMTP id 642A737E67; Fri, 28 Mar 2008 11:35:46 +0100 (CET) User-Agent: Thunderbird 2.0.0.12 (X11/20080213) In-Reply-To: <6161f3180803280233h7b4b9f3bn9bee4c0a610928da@mail.gmail.com> X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:93690 Archived-At: Andrew W. Nosenko skrev: > On Sun, Mar 23, 2008 at 11:38 PM, Michael Olson wrote= : >> Jan Dj=E4rv writes: >> >> >>> It seems it is a bug in Gtk+, >> > http://bugzilla.gnome.org/show_bug.cgi?id=3D68668 >> > (http://bugzilla.gnome.org/show_bug.cgi?id=3D137822 explains it a b= it >> > better). >> > >> > Basically because the menu bar is too large for the frame, Gtk+ set= s a >> > base width that isn't a multiple of the width increment. This make= s >> > the window manager shrink the text area (by 2 pixels in my case) so >> > that framw width - base width is a multiple of the width increment. >> > Then when leaving dired, we get a correct base width again. But th= e 2 >> > pixels aren't put back, rather the window manager shrinks even more= to >> > get the frame to be a multiple of the width increment. >> >> That sounds plausible. I updated the rest of my system today, and th= e >> problem went away, so it seems to have been the fault of GTK. >> >=20 > Could you say, which version of GTK you updated to? > Reason: I have lates stable (gtk-2.12.9) but problem didn't gone. >=20 I don't think the problem is fixed, the bugzilla entry is still open. You don't see the problem if your frame is wide enough to make room for d= ireds=20 menu bar, or if you don't have the menu bar visible. I suspect that is w= hat=20 happens. It might also be pure luck. I.e. the font used by the menu bar is such t= hat=20 the base width happens to be a multiple of the width increment. Or perha= ps a=20 newer Gtk+ calculates the base width slightly differently. Jan D.