From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.devel Subject: Re: [werner@suse.de: Several problems in KDE/KWin] Date: Mon, 03 Mar 2008 15:15:09 +0100 Message-ID: <87wsojq4gi.fsf@escher.local.home> References: <87k5nqqtfv.fsf@member.fsf.org> <87r6hyjbgw.fsf@escher.local.home> <475A641C.4060501@swipnet.se> <87k5npid1l.fsf@escher.local.home> <47C970D2.3020804@swipnet.se> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1204553744 2494 80.91.229.12 (3 Mar 2008 14:15:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 3 Mar 2008 14:15:44 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Mar 03 15:16:11 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 1JWBST-0000YY-Me for ged-emacs-devel@m.gmane.org; Mon, 03 Mar 2008 15:16:02 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JWBRw-0000qz-1k for ged-emacs-devel@m.gmane.org; Mon, 03 Mar 2008 09:15:28 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JWBRq-0000q7-JT for emacs-devel@gnu.org; Mon, 03 Mar 2008 09:15:22 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JWBRq-0000p7-1c for emacs-devel@gnu.org; Mon, 03 Mar 2008 09:15:22 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JWBRp-0000p1-Qy for emacs-devel@gnu.org; Mon, 03 Mar 2008 09:15:21 -0500 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JWBRp-0001h5-7m for emacs-devel@gnu.org; Mon, 03 Mar 2008 09:15:21 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1JWBRm-00086U-Cv for emacs-devel@gnu.org; Mon, 03 Mar 2008 14:15:18 +0000 Original-Received: from i5387dc28.versanet.de ([83.135.220.40]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 03 Mar 2008 14:15:18 +0000 Original-Received: from Stephen.Berman by i5387dc28.versanet.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 03 Mar 2008 14:15:18 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 100 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: i5387dc28.versanet.de User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:91177 Archived-At: On Sat, 01 Mar 2008 16:05:54 +0100 Jan Djärv wrote: > Stephen Berman skrev: >> On Sat, 08 Dec 2007 10:30:04 +0100 Jan Djärv wrote: >> >>> Stephen Berman skrev: >>>> On Fri, 07 Dec 2007 20:08:00 +0100 Andreas Schwab wrote: >>>> >>>>> If you try to maximize a second time the frame is actually truely >>>>> maximized. >>>> This is so if you maximize either vertically (mouse-2) or horizontally >>>> (mouse-3) but not for both dimensions simultaneously (mouse-1). >>>> >>>>> But unmaximizing restores intermediate, nearly maximized >>>>> size, not the original one. >>>> This behavior has varied in the course of Emacs 22 development. For >>>> further details see >>>> . >>>> >>> It is the same root cause as the "describe-{function,variable} shrinks >>> frame (GTK+/KDE)" problem >>> (http://lists.gnu.org/archive/html/emacs-devel/2007-11/msg01108.html). [...] > Can you test this again with a fresh checkout from CVS HEAD? I've > made changes that should produce a different behaviour. But if it is > correct or not... I do notice some differences, but as Andreas Schwab said, the bug(s) still remain(s). When I tested this prior to the unicode merge, I just used the default font for my system with emacs -Q. Now I have tried a few different fonts and pixel sizes on the builds I have (using set-frame-font for the pre-unicode-merge builds), and I find a variety of behaviors with respect to maximizing and restoring either horizontally (mouse-3) or vertically (mouse-2). But I haven't found any combinations that allows restoring after maximizing with mouse-1 (both dimensions simultaneously) (and maximizing with mouse-1 is not "maximal", as previously detailed; this is also the case where restoration fails in one dimension). Also, in each case where mouse-3 is restorable but mouse-2 is not (i.e. horizontally but not vertically), restoration only works if the frame is not vertically maximized. Here is a summary of the tests I have made (the latest build contains your changes): ====================================================================== Frame maximization tests in KDE: mouse-1 maximizes both vertically and horizontally, mouse-2 only vertically, mouse-3 only horizontally + => restoring from maximized succeeds, - => restoring fails GNU Emacs 22.1.1 (i586-suse-linux-gnu, GTK+ Version 2.12.0) of 2007-11-24 on dede -q (-ETL-Fixed-Medium-R-Normal--16-160-72-72-C-80-ISO8859-1): mouse-1 - mouse-2 - mouse-3 - -misc-dejavu sans mono-medium-r-normal--0-0-0-0-m-0-iso8859-15: mouse-1 - mouse-2 - mouse-3 + GNU Emacs 23.0.50.2 (i686-pc-linux-gnu, GTK+ Version 2.12.0) of 2008-01-16 on escher -Q: mouse-1 - mouse-2 - mouse-3 - -misc-dejavu sans mono-medium-r-normal--0-0-0-0-m-0-iso8859-15: mouse-1 - mouse-2 - mouse-3 + -misc-dejavu sans mono-bold-r-normal--0-0-0-0-m-0-iso8859-15: mouse-1 - mouse-2 - mouse-3 + -misc-dejavu sans-condensed-bold-r-semicondensed--0-0-0-0-p-0-iso8859-15: mouse-1 - mouse-2 + mouse-3 + -misc-dejavu sans-condensed-medium-r-semicondensed--0-0-0-0-p-0-iso8859-15: mouse-1 - mouse-2 + mouse-3 - GNU Emacs 23.0.60.7 (i686-pc-linux-gnu, GTK+ Version 2.12.0) of 2008-02-21 on escher -Q (`C-u C-x =' says -Misc-Fixed-Medium-R-Normal--15-140-75-75-C-90-ISO10646-1 but the font looks like what on my system is called "Sony Fixed"): mouse-1 - mouse-2 - mouse-3 - -Q -fn "Dejavu Sans Mono-10": mouse-1 - mouse-2 - mouse-3 + -Q -fn "Dejavu Sans Mono-12": mouse-1 - mouse-2 - mouse-3 - -Q -fn "Albany AMT-10": mouse-1 - mouse-2 + mouse-3 - -Q -fn "Albany AMT-12": mouse-1 - mouse-2 - mouse-3 + -Q -fn "Times-12": mouse-1 - mouse-2 - mouse-3 - -Q -fn "Times-14": mouse-1 - mouse-2 - mouse-3 + -Q -fn "Times-16": mouse-1 - mouse-2 - mouse-3 - GNU Emacs 23.0.60.1 (i686-pc-linux-gnu, GTK+ Version 2.12.0) of 2008-03-03 on escher -Q (Sony Fixed? see above): mouse-1 - mouse-2 - mouse-3 - -Q -fn "Dejavu Sans Mono-10": mouse-1 - mouse-2 + mouse-3 + -Q -fn "Dejavu Sans Mono-12": mouse-1 - mouse-2 - mouse-3 - -Q -fn "Albany AMT-10": mouse-1 - mouse-2 - mouse-3 - -Q -fn "Albany AMT-12": mouse-1 - mouse-2 - mouse-3 + -Q -fn "Times-12": mouse-1 - mouse-2 - mouse-3 + -Q -fn "Times-14": mouse-1 - mouse-2 - mouse-3 - -Q -fn "Times-16": mouse-1 - mouse-2 - mouse-3 - The pixel sizes with the Times fonts of the 2008-03-03 build are larger than the sizes with corresponding fonts of the 2008-02-21 build, e.g. Times-12 of the former is the same size as Times-14 of the latter. Steve Berman