From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Newsgroups: gmane.emacs.bugs Subject: bug#16013: 24.3.50; Rows in height is interpreted as pixels. Date: Sat, 18 Jan 2014 12:30:43 +0100 Message-ID: <225940B7-0445-4639-81EE-686AEB31DA0B@swipnet.se> References: <5579FC36-5F75-4679-87F6-048C5B7326F6@swipnet.se> <5299FD88.2090600@gmx.at> <529A33F4.5030606@swipnet.se> <529B0519.3010902@gmx.at> <529B1C71.9020707@gmx.at> <529CCE48.9090404@gmx.at> <529D8F3E.30400@gmx.at> <93EF122E-7EFC-4ACF-A216-E83981DD511A@swipnet.se> <529E2441.8030808@gmx.at> <9E083836-7DF3-4AC3-8711-A0E4757C9691@swipnet.se> <01BCA22D-62F2-4F04-B14C-85452A9D1201@swipnet.se> <52D14EA5.9060900@gmx.at> <52D18361.5050308@swipnet.se> <52D2663A.3020201@gmx.at> <52D7AE74.70302@gmx.at> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 7.1 \(1827\)) Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1390044674 15475 80.91.229.3 (18 Jan 2014 11:31:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 18 Jan 2014 11:31:14 +0000 (UTC) Cc: "16013@debbugs.gnu.org" <16013@debbugs.gnu.org> To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jan 18 12:31:20 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1W4U7S-0002pR-Kk for geb-bug-gnu-emacs@m.gmane.org; Sat, 18 Jan 2014 12:31:18 +0100 Original-Received: from localhost ([::1]:42017 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W4U7S-0008IH-2A for geb-bug-gnu-emacs@m.gmane.org; Sat, 18 Jan 2014 06:31:18 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41241) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W4U7J-0008I9-QE for bug-gnu-emacs@gnu.org; Sat, 18 Jan 2014 06:31:15 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W4U7D-0002sd-Tl for bug-gnu-emacs@gnu.org; Sat, 18 Jan 2014 06:31:09 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:41675) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W4U7D-0002rq-Pq for bug-gnu-emacs@gnu.org; Sat, 18 Jan 2014 06:31:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1W4U7D-0002E1-2q for bug-gnu-emacs@gnu.org; Sat, 18 Jan 2014 06:31:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 18 Jan 2014 11:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16013 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 16013-submit@debbugs.gnu.org id=B16013.13900446518534 (code B ref 16013); Sat, 18 Jan 2014 11:31:02 +0000 Original-Received: (at 16013) by debbugs.gnu.org; 18 Jan 2014 11:30:51 +0000 Original-Received: from localhost ([127.0.0.1]:55694 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W4U71-0002Da-Dc for submit@debbugs.gnu.org; Sat, 18 Jan 2014 06:30:51 -0500 Original-Received: from mailfe07.swip.net ([212.247.154.193]:40364 helo=swip.net) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W4U6x-0002DK-Iy for 16013@debbugs.gnu.org; Sat, 18 Jan 2014 06:30:49 -0500 X-T2-Spam-Status: No, hits=0.0 required=5.0 Original-Received: from hosdjarv.se (account mj138573@tele2.se [46.59.42.57] verified) by mailfe07.swip.net (CommuniGate Pro SMTP 5.4.4) with ESMTPA id 469294393; Sat, 18 Jan 2014 12:30:44 +0100 In-Reply-To: <52D7AE74.70302@gmx.at> X-Mailer: Apple Mail (2.1827) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:83675 Archived-At: Hello. 16 jan 2014 kl. 11:03 skrev martin rudalics : > > (1) When the window manager asks us to resize a frame, we do not > subtract the toolbar height. That is, the height of the toolbar is > included in the frame's text height afterwards, defeating our > illusion that it's counted separately. This means an even less > trivial fix than the one mentioned above. > > (2) The real height of the toolbar is with tool_bar_height which might > not fit the one we assume (in x_figure_window_size) anyway. One > more non-trivial fix since tool_bar_height is not available > initially but only after the display engine handled it. But the > display engine wants the initial height of the frame so we have a > chicken-and-egg problem here. > > (3) Lucid/Motif/No toolkit/Windows can wrap the toolbar (something Gtk > doesn't). The display engine does this by stealing the necessary > height from the editing area - that is, the root window - and > autonomously updating the `tool-bar-lines' frame parameter. This > complicates subsequent frame resizing since we don't know a priori > whether the toolbar will wrap again. > > So while I agree with you that menu and tool bar should not be > considered content, I see no easy way to work around this assumption on > the systems in question. Suggestions welcome. Disable wrapping of the toolbar? Jan D.