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#12733: 24.2.50; Disabling menu bar doesn't resize frame correctly --with-x-toolkit=motif Date: Tue, 30 Oct 2012 19:42:57 +0100 Message-ID: <0D00FAF3-BE3C-4BFD-9481-FE6702CF8F37@swipnet.se> References: <20617.22453.530059.496403@a1i15.kph.uni-mainz.de> <20622.28190.808960.297381@a1i15.kph.uni-mainz.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1351622630 2681 80.91.229.3 (30 Oct 2012 18:43:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 30 Oct 2012 18:43:50 +0000 (UTC) Cc: 12733@debbugs.gnu.org To: Ulrich Mueller Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Oct 30 19:43:59 2012 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 1TTGn1-0007yD-G8 for geb-bug-gnu-emacs@m.gmane.org; Tue, 30 Oct 2012 19:43:51 +0100 Original-Received: from localhost ([::1]:36348 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TTGms-0008A5-TF for geb-bug-gnu-emacs@m.gmane.org; Tue, 30 Oct 2012 14:43:42 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:57086) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TTGml-00089y-Lm for bug-gnu-emacs@gnu.org; Tue, 30 Oct 2012 14:43:41 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TTGmf-00015A-NY for bug-gnu-emacs@gnu.org; Tue, 30 Oct 2012 14:43:35 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:58029) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TTGmf-000156-Ju for bug-gnu-emacs@gnu.org; Tue, 30 Oct 2012 14:43:29 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TTGp7-0007Ht-Pm for bug-gnu-emacs@gnu.org; Tue, 30 Oct 2012 14:46:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 30 Oct 2012 18:46:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12733 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 12733-submit@debbugs.gnu.org id=B12733.135162273927983 (code B ref 12733); Tue, 30 Oct 2012 18:46:01 +0000 Original-Received: (at 12733) by debbugs.gnu.org; 30 Oct 2012 18:45:39 +0000 Original-Received: from localhost ([127.0.0.1]:40047 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TTGok-0007HI-V5 for submit@debbugs.gnu.org; Tue, 30 Oct 2012 14:45:39 -0400 Original-Received: from mailout.melmac.se ([62.20.26.67]:61187) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TTGof-0007H7-Rg for 12733@debbugs.gnu.org; Tue, 30 Oct 2012 14:45:36 -0400 Original-Received: from mail01.melmac.se (mail01.melmac.se [62.20.26.80]) by mailout.melmac.se (Postfix) with ESMTP id F3FC492CF for <12733@debbugs.gnu.org>; Tue, 30 Oct 2012 19:42:58 +0100 (CET) Original-Received: (qmail 23926 invoked by uid 89); 30 Oct 2012 18:42:58 -0000 Original-Received: from h-46-59-42-18.na.cust.bahnhof.se (HELO coolsville.localdomain) (boel.djarv@bdtv.se@46.59.42.18) by mail01.melmac.se with ESMTPA; 30 Oct 2012 18:42:58 -0000 Original-Received: from anon-171-204.vpn.ipredator.se (anon-171-204.vpn.ipredator.se [93.182.171.204]) by coolsville.localdomain (Postfix) with ESMTPSA id 1EA567FA05E; Tue, 30 Oct 2012 19:42:58 +0100 (CET) In-Reply-To: <20622.28190.808960.297381@a1i15.kph.uni-mainz.de> X-Mailer: Apple Mail (2.1499) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:66241 Archived-At: Hello. 29 okt 2012 kl. 12:53 skrev Ulrich Mueller : >>>>>> On Thu, 25 Oct 2012, Ulrich Mueller wrote: >=20 >> With Emacs from BZR (revision 110662) linked against the Motif = toolkit >> (version 2.3.4), I observe that after disabling the menu bar, the >> frame doesn't have the correct height. The result is that the = modeline >> and the minibuffer are no longer visible. >=20 >> Steps to reproduce: >=20 >> $ emacs -Q >=20 >> ;; Lisp Interaction Mode: >> (frame-pixel-height) >> 608 >=20 > In fact, there's already an inconsistency here. The documentation of > frame-pixel-height says: >=20 > With the Motif or Lucid toolkits, it also includes the tool bar > (but not the menu bar). >=20 > However, if I measure the height on my screen, it is 608 pixels in > total, i.e. including _both_ the tool bar and the menu bar. (I see the > same inconsistency if configured --with-x-toolkit=3Dlucid, BTW.) >=20 > Is it an error in the code or in the documentation? I've fixed the documentation. >=20 >> (frame-height) >> 38 >> (menu-bar-mode -1) >> nil >> ;; At this point, the X window shrinks by the height of the menu = bar. >> ;; However, the bottom of the frame contents (containing modeline = and >> ;; minibuffer) are no longer visible. Do they appear if you resize the frame a bit? >=20 >> (frame-pixel-height) >> 608 >=20 > This value is definitely wrong. Measured height is only 572 pixels. >=20 >> ;; Number of lines is _larger_ than before: >> (frame-height) >> 40 I can't reproduce the problem. It sounds as Emacs does not get the = resize event from your window manager. Can you try with another window = manager? What are you using now? Jan D.