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: GTK+/KDE frame shrinking has to do with tool bar Date: Tue, 20 Nov 2007 20:48:10 +0100 Message-ID: <87d4u43dhh.fsf@escher.local.home> References: <876401dbee.fsf@escher.local.home> <473EB161.2020003@gmx.at> <87abpc782k.fsf@escher.local.home> <474006EC.1040308@gmx.at> <87mytb4afn.fsf@escher.local.home> <4740BAE7.7040107@gmx.at> <87ejemz6i0.fsf@escher.local.home> <877ikdzvxz.fsf_-_@escher.local.home> <47428DC1.80402@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 1195588122 21614 80.91.229.12 (20 Nov 2007 19:48:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 20 Nov 2007 19:48:42 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Nov 20 20:48:47 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 1IuZ5S-0002y5-JO for ged-emacs-devel@m.gmane.org; Tue, 20 Nov 2007 20:48:46 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IuZ5E-0001M9-TD for ged-emacs-devel@m.gmane.org; Tue, 20 Nov 2007 14:48:32 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IuZ5A-0001I6-TS for emacs-devel@gnu.org; Tue, 20 Nov 2007 14:48:28 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IuZ58-0001Bk-Js for emacs-devel@gnu.org; Tue, 20 Nov 2007 14:48:27 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IuZ58-0001BU-1G for emacs-devel@gnu.org; Tue, 20 Nov 2007 14:48:26 -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 1IuZ57-0001lW-CB for emacs-devel@gnu.org; Tue, 20 Nov 2007 14:48:25 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1IuZ53-0002ux-9s for emacs-devel@gnu.org; Tue, 20 Nov 2007 19:48:21 +0000 Original-Received: from i5387c5d8.versanet.de ([83.135.197.216]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 20 Nov 2007 19:48:21 +0000 Original-Received: from Stephen.Berman by i5387c5d8.versanet.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 20 Nov 2007 19:48:21 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 38 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: i5387c5d8.versanet.de User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (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:83732 Archived-At: On Tue, 20 Nov 2007 08:33:21 +0100 Jan Djärv wrote: > Thanks for the explanation and the test case. > > It may very well be that those 2 missing pixels causes some rounding > error and that the frame shrinks. As the code is now, we just accept > the size the tool bar sets itself internally. We could try something > else, i.e. a fixed size or perhaps never shrink, just grow. With > themed icons, you never know how large or small they are going to be. Really? I would have assumed there are standard sizes (but that wouldn't guarantee that non-theme icons would be available in the appropriate size). > But I suspect there is a bug in the resize logic here, only the tool > bar should expand/shrink, not the number of lines. I'm going to debug > it, but it may take a few days, I am not at home right now. I would appreciate that, and let me know if I can do anything at this end to help. > BTW, what KDE and gtk-qt engine version do you have? KDE is 3.5.8-2.2, gtk-qt engine is from kcm_gtk-0.7svn20070827-16 (RPMs for openSUSE 10.3). > Is there any > special theme to use to get this effect? I'm using the default GTK style of openSUSE 10.3, which I believe is QtCurve (it's just labelled "default" in my personal KDE configuration file, but the systemwide configuration file refers to QtCurve). To see the effect of changing the style it is necessary to restart KDE, which is rather onerous to do repeatedly. When I have some time to do that systematically and find differences depending on the theme, I'll report back about it. Steve Berman