From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Dr. Werner Fink" Newsgroups: gmane.emacs.bugs Subject: Re: Several problems in KDE/KWin Date: Thu, 6 Dec 2007 15:57:57 +0100 Message-ID: <20071206145757.GA27051@boole.suse.de> References: <20071205165421.2869B2F2ED2@magellan.suse.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-Trace: ger.gmane.org 1196953104 32263 80.91.229.12 (6 Dec 2007 14:58:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 6 Dec 2007 14:58:24 +0000 (UTC) To: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Dec 06 15:58:33 2007 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1J0IBK-0002f9-3w for geb-bug-gnu-emacs@m.gmane.org; Thu, 06 Dec 2007 15:58:30 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J0IB3-00011n-7Z for geb-bug-gnu-emacs@m.gmane.org; Thu, 06 Dec 2007 09:58:13 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1J0IAv-0000z2-TK for bug-gnu-emacs@gnu.org; Thu, 06 Dec 2007 09:58:05 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1J0IAu-0000uo-0v for bug-gnu-emacs@gnu.org; Thu, 06 Dec 2007 09:58:05 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J0IAt-0000uc-NU for bug-gnu-emacs@gnu.org; Thu, 06 Dec 2007 09:58:03 -0500 Original-Received: from mx2.suse.de ([195.135.220.15]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1J0IAt-00035V-AY for bug-gnu-emacs@gnu.org; Thu, 06 Dec 2007 09:58:03 -0500 Original-Received: from Relay2.suse.de (mail2.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx2.suse.de (Postfix) with ESMTP id 28BD32C74F for ; Thu, 6 Dec 2007 15:58:00 +0100 (CET) Content-Disposition: inline In-Reply-To: <20071205165421.2869B2F2ED2@magellan.suse.de> User-Agent: Mutt/1.5.13 (2006-08-11) X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:17127 Archived-At: On Wed, Dec 05, 2007 at 05:54:20PM +0100, Dr. Werner Fink wrote: > Two problems have beem seen: > > Emacs does not keep the "iconic" information in KDE/KWin > Emacs does not un-maximize in KDE/KWin > > When starting emacs in kde in the background iconified like: > emacs --iconic & > it shows only in the menu-bar of kde but not in the screen (by intent). Now, if > I save the desktop configuration, quit kde and start it again, emacs is startet > - what is expected - but not iconified - what is not expected. > > After maximizing an emacs window, it is not possible to un-maximise it. > It may depend on font size and desktop geometry. I have these in > Xresources: > Emacs.font: 10x20 > Emacs.geometry: 80x38 > Size of desktop is 1400x1050. > The symptom is that after maximizing, the "maximize/un-maximize" button stays > in the "maximize" state (one square), intead of going to the "un-maximize" > state (two squares). Just found out that the second problem depends on the max resize request send from KWin. Im my test case this is 1680x975 but emacs with gtk response with 1672x962 which seems to leave the KWin in the state `not maximized' which leads on the next press on the min/max button to a further maximize. How this problem can be solved? This problem does not happen without gtk but X standard toolkit. The later seems to add the remaining pixel to the internal border width/height. Werner -- "Having a smoking section in a restaurant is like having a peeing section in a swimming pool." -- Edward Burr