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: frame resizing under KDE Date: Thu, 06 Sep 2007 14:01:30 +0200 Message-ID: <87ps0w0zqd.fsf@escher.local.home> References: <200708271732.22306.zslevin@gmail.com> <46DD9F41.8090700@gmx.at> <46DE63EE.3070509@gmx.at> <87tzq9pgp6.fsf_-_@escher.local.home> <46DEEA7F.8010405@gmx.at> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1189080330 5229 80.91.229.12 (6 Sep 2007 12:05:30 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 6 Sep 2007 12:05:30 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Sep 06 14:05:30 2007 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 1ITG6l-0004VD-7p for ged-emacs-devel@m.gmane.org; Thu, 06 Sep 2007 14:05:15 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ITG6j-0007nh-Ap for ged-emacs-devel@m.gmane.org; Thu, 06 Sep 2007 08:05:13 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ITG6g-0007nP-Eu for emacs-devel@gnu.org; Thu, 06 Sep 2007 08:05:10 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ITG6f-0007mt-0t for emacs-devel@gnu.org; Thu, 06 Sep 2007 08:05:10 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ITG6e-0007mo-OP for emacs-devel@gnu.org; Thu, 06 Sep 2007 08:05:08 -0400 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 1ITG6d-0006f4-Tm for emacs-devel@gnu.org; Thu, 06 Sep 2007 08:05:08 -0400 Original-Received: from root by ciao.gmane.org with local (Exim 4.43) id 1ITG6X-0000Jo-Tg for emacs-devel@gnu.org; Thu, 06 Sep 2007 14:05:01 +0200 Original-Received: from i577bc1b3.versanet.de ([87.123.193.179]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 06 Sep 2007 14:05:01 +0200 Original-Received: from Stephen.Berman by i577bc1b3.versanet.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 06 Sep 2007 14:05:01 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 85 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: i577bc1b3.versanet.de User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) X-Detected-Kernel: 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:77970 Archived-At: On Wed, 05 Sep 2007 19:42:23 +0200 martin rudalics wrote: > Could you list here which of your build/manager combinations handle > maximization correctly and which don't? Is it possible that some of > them incidentally DTRT because the usable screen area is a multiple of > the character height? I currently have a Lucid build of Emacs 22.0.90 and GTK+ builds of 22.0.50, 22.0.90, 22.0.91, 22.0.92, 22.0.93, 22.0.96, 22.0.97, 22.0.98, as well as the released 22.1 and CVS trunk (pre-multi-tty) 22.1.50. Under Gnome all of these maximize correctly. Under KDE, with the non-GTK+ build (GNU Emacs 22.0.90.1 (i686-pc-linux-gnu, X toolkit) of 2006-11-07), frame resizing works as expected (as with all other applications under KDE): 1. Clicking the maximize icon in the title bar with mouse-1 toggles maximization both vertically and horizontally. 2. Clicking with mouse-2 toggles maximization vertically. 3. Clicking with mouse-3 toggles maximization horizontally. In each case the maximization covers the entire screen area in the specified dimensions. With my GTK+ builds of 22.0.50, 22.0.90 and 22.0.91, frame resizing under KDE works as follows: 1. Clicking the maximize icon with mouse-1 resizes the frame vertically and horizontally but not quite maximally, in both dimensions there is space between the frame and the screen edges. Also, the maximize icon is unchanged and its tooltip still says "Maximize" (it should have changed to a double window icon and the tooltip should say "Restore", as it does in the non-GTK+ build). Subsequently clicking mouse-1 makes the frame momentarily expand to cover the entire screen, but it immediately returns to the previous, not quite maximal size. It is not possible to restore the original size by clicking the maximization icon. 2. Clicking the maximize icon with mouse-2 resizes the frame vertically but not quite maximally, and the maximize icon is unchanged and its tooltip still says "Maximize". Clicking again with mouse-2 expands the frame to cover the entire vertical space; this makes the echo area appear to grow, but the scroll bar there does not grow correspondingly. Subseqently clicking the maximize icon with mouse-2 toggles between the not quite and the completely vertically maximized sizes and the icon remains unchanged. 3. Clicking the maximize icon with mouse-3 yields behavior in the horizontal dimension corresponding to that in the vertical dimension with mouse-2. Both the non-GTK+ build of 22.0.90 and the GTK+ builds of 22.0.50, 22.0.90 and 22.0.91 have as default font -Adobe-Courier-Medium-R-Normal--12-120-75-75-M-70-ISO8859-1. (This is what x-fixed-font-alist says.) Starting with Emacs 22.0.92 the default font changed to -*-fixed-medium-r-*--16-*-*-*-*-*-fontset-16. My GTK+ build of this version, and all subsequent builds up to GNU Emacs 22.1.50.11 (i686-pc-linux-gnu, GTK+ Version 2.10.6) of 2007-08-24 (my latest), differ from the above as follows: 3. Clicking the maximize icon with mouse-3 works almost as expected: it toggles between horizontally maximized and the original horizontal size. However, when maximized, the icon still shows a single rather than a double window, and the tooltip still says "Maximize". 2. Clicking the maximize icon with mouse-2 yields the same behavior as in the GTK+ build of 22.0.90. 1. Clicking the maximize icon with mouse-1 yields the same behavior as in the GTK+ build of 22.0.90 except that the horizontal dimension is fully maximized. With all of these builds, changing the font can make the horizontal resizing (mouse-3) behave as in pre-22.0.92 builds. This is the case e.g. with the following fonts from the Font Menu: "7x13", "9x15", "10x20". With the fonts "6x10", "6x12", "6x13", "8x13", "12x24" horizontal resizing works correctly. Steve Berman