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: Tue, 18 Mar 2008 08:56:00 +0100 Message-ID: <47DF7590.7040902@swipnet.se> References: <87tzj6gekl.fsf@grepfind.mwolson.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1205827164 5926 80.91.229.12 (18 Mar 2008 07:59:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 18 Mar 2008 07:59:24 +0000 (UTC) Cc: emacs-devel@gnu.org To: Michael Olson Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Mar 18 08:59:53 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 1JbWjc-00016G-LE for ged-emacs-devel@m.gmane.org; Tue, 18 Mar 2008 08:59:49 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JbWj2-0005d1-OO for ged-emacs-devel@m.gmane.org; Tue, 18 Mar 2008 03:59:12 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JbWhC-000518-R3 for emacs-devel@gnu.org; Tue, 18 Mar 2008 03:57:18 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JbWhB-00050T-7E for emacs-devel@gnu.org; Tue, 18 Mar 2008 03:57:18 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JbWhA-00050O-R5 for emacs-devel@gnu.org; Tue, 18 Mar 2008 03:57:16 -0400 Original-Received: from av9-1-sn2.hy.skanova.net ([81.228.8.179]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JbWh6-0001D9-C2; Tue, 18 Mar 2008 03:57:12 -0400 Original-Received: by av9-1-sn2.hy.skanova.net (Postfix, from userid 502) id 35C0138D1B; Tue, 18 Mar 2008 08:57:08 +0100 (CET) Original-Received: from smtp4-2-sn2.hy.skanova.net (smtp4-2-sn2.hy.skanova.net [81.228.8.93]) by av9-1-sn2.hy.skanova.net (Postfix) with ESMTP id 0976238D0A; Tue, 18 Mar 2008 08:57:08 +0100 (CET) Original-Received: from husetbladh.homeip.net (90-231-102-24-no59.tbcn.telia.com [90.231.102.24]) by smtp4-2-sn2.hy.skanova.net (Postfix) with ESMTP id ECB3337E45; Tue, 18 Mar 2008 08:57:06 +0100 (CET) User-Agent: Thunderbird 2.0.0.12 (X11/20080213) In-Reply-To: <87tzj6gekl.fsf@grepfind.mwolson.org> 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:92873 Archived-At: Michael Olson skrev: > <#part sign=pgpmime> > When I replaced my Emacs binary that was compiled in February with one > compiled from today's CVS HEAD, I noticed some very aberrant behavior > WRT frames. I haven't updated the rest of my system in that time, such > as libraries, so it must be due to a change in Emacs. It happens with > "emacs -Q" as well, so it's not caused to my init file. > > Basically, GTK frames seem to shrink by about one character length every > time I do certain things such hitting viewing mail on Gnus, hitting the > key combination "M-x", or displaying an image by hitting RET on it in > dired. Does this always involves an image, or does it happen when you view ordinary text mail in Gnus also? > > The easiest way to replicate this is to view a directory which contains > image files in dired, and hit RET on one of them. The frame will > shrink. Hit C-x b to switch back and forth between the image and the > directory, and the frame will shrink further. It might be necessary to > initially have the frame small enough that a line-wrap indicator shows > up in the fringe. Cool, we have shrinkage in both dimensions now :-). > > I also notice then when I resize the frames back to take up the original > amount of pixels in width, that the window manager thinks the dimensions > of the window are different than they are. In two frames with the same > number of pixels long, and with Emacs displaying the same number of > characters, one is thought to be 80x35 by the window manager and the > other one (the one that shrank earlier) is thought to be 70x35. > That is wm size hints that aren't updated properly. The bug is why the frame shrinks when viewing an image. I can reproduce it, so a fix should be done within a couple of days or so. Jan D.