Emacs window shrinks automatically

Bug #941790 reported by Andi Albrecht
74
This bug affects 14 people
Affects Status Importance Assigned to Milestone
Unity
Invalid
Undecided
Unassigned
emacs23 (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

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.

FWIW, here's a video that illustrates the behavior: http://www.youtube.com/watch?v=_oKQjP8x_Os

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: emacs23 23.3+1-1ubuntu8
ProcVersionSignature: Ubuntu 3.2.0-17.27-generic 3.2.6
Uname: Linux 3.2.0-17-generic x86_64
ApportVersion: 1.93-0ubuntu2
Architecture: amd64
Date: Mon Feb 27 07:44:46 2012
ExecutablePath: /usr/bin/emacs23-x
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120201.2)
ProcEnviron:
 TERM=xterm
 SHELL=/bin/bash
 PATH=(custom, user)
 LANG=de_DE.UTF-8
SourcePackage: emacs23
UpgradeStatus: Upgraded to precise on 2012-02-10 (16 days ago)

Revision history for this message
Andi Albrecht (andialbrecht) wrote :
Revision history for this message
Andi Albrecht (andialbrecht) wrote :

One more observation: Using emacs-gtk (instead of emacs-x) it seems that enabling/disabling menu-bar-mode has no effect and the behavior is reproducible by just turning off tool-bar-mode.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in emacs23 (Ubuntu):
status: New → Confirmed
Revision history for this message
ChrT (klemen-grm) wrote :

I can reproduce this, confirmed.

Revision history for this message
humbhenri (humbhenri) wrote :

Confirmed too using ubuntu 12.04 beta

Revision history for this message
Walter Garcia-Fontes (walter-garcia) wrote :
Changed in unity:
status: New → Confirmed
Revision history for this message
ruhe (ruhe) wrote :

Bug is also reproduced in Gnome classic (gnome-panel) environment.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package emacs23 - 23.3+1-1ubuntu9

---------------
emacs23 (23.3+1-1ubuntu9) precise; urgency=low

  * debian/patches/unity-shrinkage.patch: Back port of upstream Emacs 24
    patch to prevent automatic uncontrollable shrinkage of the window to
    one row high when no menu bar is used under Unity/Gtk+/Ubuntu 12.04.
    (LP: #941790)
 -- Barry Warsaw <email address hidden> Sat, 24 Mar 2012 13:07:38 -0400

Changed in emacs23 (Ubuntu):
status: Confirmed → Fix Released
Omer Akram (om26er)
Changed in unity:
status: Confirmed → Invalid
Revision history for this message
Sven Mueller (smu-u) wrote :

Can this fix please be made available in Precise? Precise as of today seems to carry 23.1+1=4ubuntu7, which doesn't incorporate this fix.

no longer affects: emacs
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.