Subject: bug#12733: 24.2.50; Disabling menu bar doesn't resize frame correctly --with-x-toolkit=motif

From: Jan Djärv <[email-masked]>
Date: Tue, 30 Oct 2012 22:08:35 +0100

Hello.

30 okt 2012 kl. 21:10 skrev Ulrich Mueller <[email-masked]>:

>>>>>> On Tue, 30 Oct 2012, Jan Djärv wrote:
> 
>>>> 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.
> 
>>>> (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?
> 
> Yes, they do appear.

So the size calculation is sound, Emacs is either not getting resize events or does not understand them.  This is usually window manager related.

	Jan D.