From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Jan D." Newsgroups: gmane.emacs.bugs Subject: bug#7296: display-pixel-height not enough Date: Fri, 29 Oct 2010 15:15:55 +0200 Message-ID: <4CCAC90B.4070800@swipnet.se> References: <83hbg66vt4.fsf@gnu.org> <83d3qt77lj.fsf@gnu.org> <4CCA9E5D.5060002@swipnet.se> <838w1h6zbp.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1288360155 11486 80.91.229.12 (29 Oct 2010 13:49:15 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 29 Oct 2010 13:49:15 +0000 (UTC) Cc: 7296@debbugs.gnu.org To: Lennart Borgman Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Oct 29 15:49:14 2010 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.69) (envelope-from ) id 1PBpKT-0004La-8F for geb-bug-gnu-emacs@m.gmane.org; Fri, 29 Oct 2010 15:49:13 +0200 Original-Received: from localhost ([127.0.0.1]:46181 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PBpKS-0007zG-Hl for geb-bug-gnu-emacs@m.gmane.org; Fri, 29 Oct 2010 09:49:12 -0400 Original-Received: from [140.186.70.92] (port=44862 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PBpEh-0004HA-Gf for bug-gnu-emacs@gnu.org; Fri, 29 Oct 2010 09:43:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PBpEd-0005bF-85 for bug-gnu-emacs@gnu.org; Fri, 29 Oct 2010 09:43:15 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:43841) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PBpEd-0005bB-57 for bug-gnu-emacs@gnu.org; Fri, 29 Oct 2010 09:43:11 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1PBokU-0003Pr-Ij; Fri, 29 Oct 2010 09:12:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Jan D." Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 29 Oct 2010 13:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7296 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 7296-submit@debbugs.gnu.org id=B7296.128835791413119 (code B ref 7296); Fri, 29 Oct 2010 13:12:02 +0000 Original-Received: (at 7296) by debbugs.gnu.org; 29 Oct 2010 13:11:54 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PBokM-0003PY-34 for submit@debbugs.gnu.org; Fri, 29 Oct 2010 09:11:54 -0400 Original-Received: from smtprelay-b12.telenor.se ([62.127.194.21]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PBokJ-0003PS-Gg for 7296@debbugs.gnu.org; Fri, 29 Oct 2010 09:11:52 -0400 Original-Received: from ipb4.telenor.se (ipb4.telenor.se [195.54.127.167]) by smtprelay-b12.telenor.se (Postfix) with ESMTP id D4471E8F5B for <7296@debbugs.gnu.org>; Fri, 29 Oct 2010 15:16:02 +0200 (CEST) X-SENDER-IP: [85.225.45.100] X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AnoyAHdlykxV4S1kPGdsb2JhbACDC4RSjmCLFgwBAQEBNS2sFpF7gSKDMnQEjVsZglM X-IronPort-AV: E=Sophos;i="4.58,259,1286143200"; d="scan'208";a="1686084876" Original-Received: from c-642de155.25-1-64736c10.cust.bredbandsbolaget.se (HELO coolsville.localdomain) ([85.225.45.100]) by ipb4.telenor.se with ESMTP; 29 Oct 2010 15:16:02 +0200 Original-Received: from [10.225.16.134] (unknown [193.45.43.33]) by coolsville.localdomain (Postfix) with ESMTPSA id 630B47FA05A; Fri, 29 Oct 2010 15:16:01 +0200 (CEST) User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; sv-SE; rv:1.9.2.11) Gecko/20101013 Thunderbird/3.1.5 In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Fri, 29 Oct 2010 09:12:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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: , 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:41224 Archived-At: Lennart Borgman skrev 2010-10-29 14:28: > On Fri, Oct 29, 2010 at 12:57 PM, Eli Zaretskii wrote: >>> Date: Fri, 29 Oct 2010 12:13:49 +0200 >>> From: Jan Dj=C3=A4rv >>> CC: Lennart Borgman, 7296@debbugs.gnu.org >>> >>>> What use-case could possibly want to know the dimensions that includ= e >>>> unusable portion? >>>> >>> They are not unusable. One can create a frame that covers the >>> taskbar/panel/whatever. >> On MS-Windows? If so, what is this bug report about? It says: >> >> If you want to know how much height there is available to display a >> frame then display-pixel-height does not give you the information yo= u >> need. The taskbar (w32 name, I have no idea what it is called on oth= er >> platform) and other "bars" may have reserved some of the vertical >> space. >> >> "Reserved" means, to me, that those parts cannot be used. What am I >> missing? > Perhaps nothing. On w32 maximized windows covers the area that are not > reserved by the taskbar (or other bars). I think this is the area that > we should return (as I have said before). > > Maybe a bit of confusion comes in because the taskbar only reserves > this area on w32 if it is not automatically hidden. I tried on W32 (Windows 7). Maximizing a window does not use the space=20 occupied by the taskbar, but there is no problem in creating a frame=20 that does. So an unmximized window can be taller than a maximized one. On Gnome, the window manager won't let you do this, so when you set=20 frame height/geometry to anything that might cover a panel, it adjusts=20 the X window so it doesn't cover any panels. Jan D. Jan D.