Subject: Re: bug#10954: Emacs window shrinks automatically
From: Jan Djärv <[email-masked]>
To: [email-masked]
Cc: [email-masked]
Date: Thu, 8 Mar 2012 19:56:05 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello.

6 mar 2012 kl. 09:52 skrev Walter Garcia-Fontes:

> Ubuntu 12.04 Beta 1
> Unity desktop environment
> 
> When starting Emacs without tool-bar and without menu-bar the windows
> shrinks automatically to the size of one (text) line.
> 
> To reproduce, run current Unity desktop (5.4.0-0ubuntu2) and start
> Emacs with the following command line:
> 
> emacs23 -Q --execute "(progn (tool-bar-mode 0)(menu-bar-mode 0))"
> 
> Note that both toolbar and menubar have to be disabled to see the
> shrinking behavior.
> 

The combination Gtk+ and Unity triggers a bug in one of them (not sure who has the bug).  If we set WM hints with base_height, one of them can't count and goes bananas.  I have checked in a fix in the trunk, which will be Emacs 24.  Please try it if you can.

	Jan D.