From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.bugs Subject: bug#7296: display-pixel-height not enough Date: Sat, 30 Oct 2010 20:59:24 +0200 Message-ID: References: <83hbg66vt4.fsf@gnu.org> <83d3qt77lj.fsf@gnu.org> <4CCA9E5D.5060002@swipnet.se> <838w1h6zbp.fsf@gnu.org> <4CCAC90B.4070800@swipnet.se> <4CCB2713.5070104@swipnet.se> <4CCBC930.5060705@swipnet.se> <4CCBF75B.8070209@swipnet.se> <4CCC558E.5030704@swipnet.se> <7C6D3056-3E04-46E5-A731-A2E996197F03@swipnet.se> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1288466007 13378 80.91.229.12 (30 Oct 2010 19:13:27 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 30 Oct 2010 19:13:27 +0000 (UTC) Cc: "7296@debbugs.gnu.org" <7296@debbugs.gnu.org> To: Jan =?UTF-8?Q?Dj=C3=A4rv?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Oct 30 21:13:20 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 1PCGrf-00067F-Qy for geb-bug-gnu-emacs@m.gmane.org; Sat, 30 Oct 2010 21:13:20 +0200 Original-Received: from localhost ([127.0.0.1]:59006 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PCGrf-00052y-16 for geb-bug-gnu-emacs@m.gmane.org; Sat, 30 Oct 2010 15:13:19 -0400 Original-Received: from [140.186.70.92] (port=46166 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PCGra-00052p-0v for bug-gnu-emacs@gnu.org; Sat, 30 Oct 2010 15:13:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PCGrY-0003cN-KP for bug-gnu-emacs@gnu.org; Sat, 30 Oct 2010 15:13:13 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:54470) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PCGrY-0003cI-HS for bug-gnu-emacs@gnu.org; Sat, 30 Oct 2010 15:13:12 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1PCGaw-0007Z5-Hi; Sat, 30 Oct 2010 14:56:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lennart Borgman Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 30 Oct 2010 18:56: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.128846493429070 (code B ref 7296); Sat, 30 Oct 2010 18:56:02 +0000 Original-Received: (at 7296) by debbugs.gnu.org; 30 Oct 2010 18:55:34 +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 1PCGaT-0007Yp-1b for submit@debbugs.gnu.org; Sat, 30 Oct 2010 14:55:34 -0400 Original-Received: from mail-vw0-f44.google.com ([209.85.212.44]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PCGaQ-0007Yj-2z for 7296@debbugs.gnu.org; Sat, 30 Oct 2010 14:55:30 -0400 Original-Received: by vws3 with SMTP id 3so1289635vws.3 for <7296@debbugs.gnu.org>; Sat, 30 Oct 2010 11:59:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=mrKjoeCE36Q7igHc/ZwyBYGnQU3yocGzUWFGk1FNVyc=; b=KfcjMuiSq2r9UUwfo692Gi5P8LunFbiQgCmRioHImBr+oLZEw9xlRPGwOtT1T5vwNV aOJeSWsOtzO9NnPHXAtYZXtkQrSmG/kPGdLWTvqeW56vLDnf5wr+J1Iuf6TheR4Fepxp WsVZ8xBmMn8Q3d02PeDU/tUEQJWDLoPUS8380= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=EJttc0oi1yS5KFsBylLGaUdvcofR5EhS5yk/eD+KORz5JICRmlDgjHY2TsKafB5yiF K/PK3e5r/ZQzxC2mKwiGwpwI0qBZjZ1cNkuWiBaNKz22HsB4nhU1E8qxOqiZfpgXOYRg 6yM4olMT/nusf14cAWCb4+betoXb7JPJZWuQ8= Original-Received: by 10.229.73.142 with SMTP id q14mr13427054qcj.26.1288465184658; Sat, 30 Oct 2010 11:59:44 -0700 (PDT) Original-Received: by 10.229.224.199 with HTTP; Sat, 30 Oct 2010 11:59:24 -0700 (PDT) In-Reply-To: <7C6D3056-3E04-46E5-A731-A2E996197F03@swipnet.se> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sat, 30 Oct 2010 14:56: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:41282 Archived-At: On Sat, Oct 30, 2010 at 8:30 PM, Jan Dj=C3=A4rv wrote: > > > 30 okt 2010 kl. 19:41 skrev Lennart Borgman : > >> On Sat, Oct 30, 2010 at 7:27 PM, Jan Dj=C3=A4rv wro= te: >>> >>> >>> Lennart Borgman skrev 2010-10-30 16.05: >>>> >>>> On Sat, Oct 30, 2010 at 12:45 PM, Jan Dj=C3=A4rv = =C2=A0wrote: >>>>> >>>>> >>>>> Lennart Borgman skrev 2010-10-30 11.25: >>>>>> >>>>>> On Sat, Oct 30, 2010 at 9:28 AM, Jan Dj=C3=A4rv = =C2=A0 =C2=A0wrote: >>>>>>> >>>>>>> The bug does not include any explanation why the current situation = is a >>>>>>> problem or a use case that describes it. =C2=A0So I don't know what= this >>>>>>> information is for. =C2=A0If it is for making an Emacs frame as tal= l as it >>>>>>> can >>>>>>> be, that information is not it. >>>>>> >>>>>> >>>>>> The Emacs frame can be partly hidden by the taskbar even when the >>>>>> frame is the active w32 window if the height is set to the value >>>>>> x-dsiplay-pixel-height (when for example the frame is aligned to the >>>>>> top and the taskbar is at the bottom of the display), that is the >>>>>> problem. Sorry if that was unclear. >>>>> >>>>> What package does this? >>>> >>>> Every function that tries to maximize just height will do it. >>> >>> I'd rather see that those functions let the window manager do the job, = i.e. >>> set fullscreen to fullheight. =C2=A0I don't know if W32/Nextstep has so= mething >>> similar, but if they do, that is a better solution to implement. >> >> >> Then please tell those that do the window managers this ;-) >> >> Maybe I am not explaining this very well since you said this. What the >> window manager on w32 does is giving the size of the total display and >> the work area of the display (through some API:s). We are currently >> using the total display size. What we should do instead is using the >> work area size. (I don't know if the total display size actually is >> useful at all on w32 since it is not needed to maximize a window on >> w32.) >> >> Can you please tell me what is unclear? (I of course expect similar >> solutions on other platforms.) > > Emacs should refrain from trying to maximize frames itself, because it is= not so simple as you state to just replace one height with another. I never said something about using those values for maximizing a frame. You simply do not do it that way on w32. > I know that W32 has some mechanism to maximize a window without fiddling = with height and width. You should check if there is a similar way to maximi= ze just height by asking the system to do it. I told how to do this earlier in this thread. Or did not that message reach= you? > It is why Emacs only does maximizing and fullscreen by delegering it to t= he window manager in X. Yes, it should do it the same way on w32, but you can not do it for just height or just width on w32. (But you can set height (or width) to the same value as it is with a maximized window.)