GNU bug report logs - #10954
Emacs window shrinks automatically

Previous Next

Package: emacs;

Reported by: walter.garcia <at> upf.edu

Date: Tue, 6 Mar 2012 08:56:01 UTC

Severity: normal

Done: Jan Djärv <jan.h.d <at> swipnet.se>

Bug is archived. No further changes may be made.

Forwarded to https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/941790

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 10954 in the body.
You can then email your comments to 10954 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#10954; Package emacs. (Tue, 06 Mar 2012 08:56:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to walter.garcia <at> upf.edu:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Tue, 06 Mar 2012 08:56:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Walter Garcia-Fontes <walter.garcia <at> upf.edu>
To: bug-gnu-emacs <at> gnu.org
Subject: Emacs window shrinks automatically
Date: Tue, 6 Mar 2012 09:52:04 +0100
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.

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


In GNU Emacs 23.3.1 (x86_64-pc-linux-gnu, GTK+ Version 2.24.10)
 of 2012-02-23 on crested, modified by Debian
Windowing system distributor `The X.Org Foundation', version 11.0.11103000
configured using `configure  '--build' 'x86_64-linux-gnu' '--build' 'x86_64-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var/lib' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs23:/etc/emacs:/usr/local/share/emacs/23.3/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.3/site-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/23.3/leim' '--with-crt-dir=/usr/lib/x86_64-linux-gnu' '--with-x=yes' '--with-x-toolkit=gtk' '--with-toolkit-scroll-bars' 'build_alias=x86_64-linux-gnu' 'CFLAGS=-DDEBIAN -g -O2' 'LDFLAGS=-g' 'CPPFLAGS=-D_FORTIFY_SOURCE=2''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: en_US.UTF-8
  value of $LC_CTYPE: en_US.UTF-8
  value of $LC_MESSAGES: en_US.UTF-8
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t

Major mode: Lisp Interaction

Minor modes in effect:
  show-paren-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
m o d e SPC 0 ) ( m e n u - b a r - m o d e SPC 0 ) 
) " RET RET N o t e SPC t h a t SPC b o t h SPC t o 
o l b a r SPC a n d SPC m e n u b a r SPC h a v e SPC 
t o SPC b e SPC d i s a b l e d SPC t o SPC s e e SPC 
t h e SPC s h r i n k i n g SPC b e h a v i o r . RET 
RET F W I W , SPC h e r e ' s SPC a SPC v i d e o SPC 
t h a t SPC i l l u s t r a t e s SPC t h e SPC b e 
h a v i o r : SPC h t t p : / / w w w . y o u t u b 
e . c o m / w a t c h ? v = _ o K Q j P 8 x _ O s C-p 
C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-a 
RET RET C-p C-p U b u n t u SPC 1 2 . 0 4 SPC B e t 
a SPC 1 RET U n i t y SPC d e s k t o p SPC e n v i 
r o n m e n t C-x C-s C-r RET C-g RET C-d <down-mouse-1> 
<mouse-1> <escape> x r e <tab> p o <tab> r t _ <backspace> 
- m <backspace> e m <tab> <return>

Recent messages:
Local Ispell dictionary set to en
Buffer dictionary is now en
Starting new Ispell process [en] ...
Spell Checking completed.
Auto-saving...done
Saving file /tmp/mutt-puna-1000-5652-19201588231566339693...
Wrote /tmp/mutt-puna-1000-5652-19201588231566339693
Quit
When done with this frame, type C-x 5 0
Making completion list... [2 times]

Load-path shadows:
/usr/share/emacs/23.3/site-lisp/auctex/tex hides /usr/share/emacs/site-lisp/auctex/tex
/usr/share/emacs/23.3/site-lisp/auctex/font-latex hides /usr/share/emacs/site-lisp/auctex/font-latex
/usr/share/emacs/23.3/site-lisp/auctex/tex-info hides /usr/share/emacs/site-lisp/auctex/tex-info
/usr/share/emacs/23.3/site-lisp/auctex/tex-buf hides /usr/share/emacs/site-lisp/auctex/tex-buf
/usr/share/emacs/23.3/site-lisp/auctex/context-nl hides /usr/share/emacs/site-lisp/auctex/context-nl
/usr/share/emacs/23.3/site-lisp/auctex/multi-prompt hides /usr/share/emacs/site-lisp/auctex/multi-prompt
/usr/share/emacs/23.3/site-lisp/auctex/bib-cite hides /usr/share/emacs/site-lisp/auctex/bib-cite
/usr/share/emacs/23.3/site-lisp/auctex/latex hides /usr/share/emacs/site-lisp/auctex/latex
/usr/share/emacs/23.3/site-lisp/auctex/tex-font hides /usr/share/emacs/site-lisp/auctex/tex-font
/usr/share/emacs/23.3/site-lisp/auctex/toolbar-x hides /usr/share/emacs/site-lisp/auctex/toolbar-x
/usr/share/emacs/23.3/site-lisp/auctex/tex-fptex hides /usr/share/emacs/site-lisp/auctex/tex-fptex
/usr/share/emacs/23.3/site-lisp/auctex/context hides /usr/share/emacs/site-lisp/auctex/context
/usr/share/emacs/23.3/site-lisp/auctex/tex-style hides /usr/share/emacs/site-lisp/auctex/tex-style
/usr/share/emacs/23.3/site-lisp/auctex/tex-fold hides /usr/share/emacs/site-lisp/auctex/tex-fold
/usr/share/emacs/23.3/site-lisp/auctex/tex-jp hides /usr/share/emacs/site-lisp/auctex/tex-jp
/usr/share/emacs/23.3/site-lisp/auctex/tex-bar hides /usr/share/emacs/site-lisp/auctex/tex-bar
/usr/share/emacs/23.3/site-lisp/auctex/tex-mik hides /usr/share/emacs/site-lisp/auctex/tex-mik
/usr/share/emacs/23.3/site-lisp/auctex/context-en hides /usr/share/emacs/site-lisp/auctex/context-en
/usr/share/emacs/23.3/site-lisp/auctex/texmathp hides /usr/share/emacs/site-lisp/auctex/texmathp
/usr/share/emacs/23.3/site-lisp/debian-startup hides /usr/share/emacs/site-lisp/debian-startup
/usr/share/emacs/23.3/site-lisp/cmake-data/cmake-mode hides /usr/share/emacs/site-lisp/cmake-mode
/usr/share/emacs23/site-lisp/semi/pgg-def hides /usr/share/emacs/23.3/lisp/pgg-def
/usr/share/emacs23/site-lisp/semi/pgg-pgp hides /usr/share/emacs/23.3/lisp/pgg-pgp
/usr/share/emacs23/site-lisp/semi/pgg hides /usr/share/emacs/23.3/lisp/pgg
/usr/share/emacs23/site-lisp/flim/hex-util hides /usr/share/emacs/23.3/lisp/hex-util
/usr/share/emacs23/site-lisp/flim/md4 hides /usr/share/emacs/23.3/lisp/md4
/usr/share/emacs23/site-lisp/semi/pgg-parse hides /usr/share/emacs/23.3/lisp/pgg-parse
/usr/share/emacs23/site-lisp/flim/sha1 hides /usr/share/emacs/23.3/lisp/sha1
/usr/share/emacs23/site-lisp/semi/pgg-gpg hides /usr/share/emacs/23.3/lisp/pgg-gpg
/usr/share/emacs23/site-lisp/semi/pgg-pgp5 hides /usr/share/emacs/23.3/lisp/pgg-pgp5
/usr/share/emacs23/site-lisp/dictionaries-common/ispell hides /usr/share/emacs/23.3/lisp/textmodes/ispell
/usr/share/emacs23/site-lisp/dictionaries-common/flyspell hides /usr/share/emacs/23.3/lisp/textmodes/flyspell
/usr/share/emacs23/site-lisp/flim/ntlm hides /usr/share/emacs/23.3/lisp/net/ntlm
/usr/share/emacs23/site-lisp/flim/sasl hides /usr/share/emacs/23.3/lisp/net/sasl
/usr/share/emacs23/site-lisp/flim/hmac-md5 hides /usr/share/emacs/23.3/lisp/net/hmac-md5
/usr/share/emacs23/site-lisp/flim/hmac-def hides /usr/share/emacs/23.3/lisp/net/hmac-def
/usr/share/emacs23/site-lisp/flim/sasl-digest hides /usr/share/emacs/23.3/lisp/net/sasl-digest
/usr/share/emacs23/site-lisp/flim/sasl-cram hides /usr/share/emacs/23.3/lisp/net/sasl-cram
/usr/share/emacs23/site-lisp/flim/sasl-ntlm hides /usr/share/emacs/23.3/lisp/net/sasl-ntlm

Features:
(multi-isearch newcomment gnus-msg gnus-art mm-uu mml2015 epg-config
mm-view smime dig gnus-sum nnoo gnus-group gnus-undo nnmail mail-source
format-spec gnus-start gnus-spec gnus-int gnus-range gnus-win gnus
gnus-ems shadow sort mail-extr message sendmail ecomplete rfc822 mml
mml-sec password-cache mm-decode mm-bodies mm-encode mailcap mail-parse
rfc2231 rfc2047 rfc2045 qp ietf-drums mailabbrev nnheader gnus-util
netrc time-date mm-util mail-prsvr gmm-utils wid-edit mailheader canlock
sha1 sha1-el hex-util hashcash mail-utils emacsbug help-mode view
iso-transl jka-compr paren advice advice-preload post help-fns easymenu
derived cl cl-19 server auto-dictionary regexp-opt flyspell ispell
bitmap bitmap-ci poem poem-e20 poem-e20_3 pces pces-e20 pces-20 broken
pcustom poe pym static apel-ver product debian-el debian-el-loaddefs
dpkg-dev-el dpkg-dev-el-loaddefs preview-latex tex-site auto-loads
tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd
font-setting tool-bar dnd fontset image fringe lisp-mode register page
menu-bar rfn-eshadow timer select scroll-bar mldrag mouse jit-lock
font-lock syntax facemenu font-core frame cham georgian utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew
greek romanian slovak czech european ethiopic indian cyrillic chinese
case-table epa-hook jka-cmpr-hook help simple abbrev loaddefs button
minibuffer faces cus-face files text-properties overlay md5 base64
format env code-pages mule custom widget hashtable-print-readable
backquote make-network-process dbusbind system-font-setting
font-render-setting gtk x-toolkit x multi-tty emacs)







Set bug forwarded-to-address to 'https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/941790'. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Tue, 06 Mar 2012 08:58:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#10954; Package emacs. (Tue, 06 Mar 2012 09:02:02 GMT) Full text and rfc822 format available.

Message #10 received at 10954 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: 10954 <at> debbugs.gnu.org
Subject: Re: bug#10954: Emacs window shrinks automatically
Date: Tue, 06 Mar 2012 04:00:51 -0500
There's already at least two Ubuntu bug reports about this

https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/941790
https://bugs.launchpad.net/ubuntu/+source/unity/+bug/944884




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#10954; Package emacs. (Tue, 06 Mar 2012 09:03:02 GMT) Full text and rfc822 format available.

Message #13 received at 10954 <at> debbugs.gnu.org (full text, mbox):

From: Walter Garcia-Fontes <walter.garcia <at> upf.edu>
To: 10954 <at> debbugs.gnu.org
Subject: Bug report link in Launchpad
Date: Tue, 6 Mar 2012 10:01:42 +0100
https://bugs.launchpad.net/emacs/+bug/941790




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#10954; Package emacs. (Tue, 06 Mar 2012 09:09:02 GMT) Full text and rfc822 format available.

Message #16 received at 10954 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: walter.garcia <at> upf.edu
Cc: 10954 <at> debbugs.gnu.org
Subject: Re: bug#10954: Bug report link in Launchpad
Date: Tue, 06 Mar 2012 04:06:47 -0500
Walter Garcia-Fontes wrote:

> https://bugs.launchpad.net/emacs/+bug/941790

And here

https://bugs.launchpad.net/ubuntu/+source/unity/+bug/944884

(at first guess it seems more likely to be a Unity issue than an Emacs one)




Reply sent to Jan Djärv <jan.h.d <at> swipnet.se>:
You have taken responsibility. (Thu, 08 Mar 2012 18:58:02 GMT) Full text and rfc822 format available.

Notification sent to walter.garcia <at> upf.edu:
bug acknowledged by developer. (Thu, 08 Mar 2012 18:58:02 GMT) Full text and rfc822 format available.

Message #21 received at 10954-done <at> debbugs.gnu.org (full text, mbox):

From: Jan Djärv <jan.h.d <at> swipnet.se>
To: walter.garcia <at> upf.edu
Cc: 10954-done <at> debbugs.gnu.org
Subject: Re: bug#10954: Emacs window shrinks automatically
Date: Thu, 8 Mar 2012 19:56:05 +0100
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.






Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#10954; Package emacs. (Fri, 23 Mar 2012 19:37:02 GMT) Full text and rfc822 format available.

Message #24 received at 10954 <at> debbugs.gnu.org (full text, mbox):

From: Barry Warsaw <barry <at> python.org>
To: 10954 <at> debbugs.gnu.org
Subject: Emacs window shrinks automatically
Date: Fri, 23 Mar 2012 15:01:51 -0400
[Message part 1 (text/plain, inline)]
In bug 10954, you said:

    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.

Is there any chance you can point me to the bzr revision with this fix?  What
is the likelihood that this could be backported to Emacs 23?  I would be
willing to sponsor this fix into Ubuntu 12.04 for Emacs 23 if it's relatively
easy to backport or if you could give me a hand with that.  I am highly
motivated by personal pain to make this work. ;)
[signature.asc (application/pgp-signature, attachment)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#10954; Package emacs. (Fri, 23 Mar 2012 19:48:02 GMT) Full text and rfc822 format available.

Message #27 received at 10954 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: Barry Warsaw <barry <at> python.org>
Cc: 10954 <at> debbugs.gnu.org
Subject: Re: bug#10954: Emacs window shrinks automatically
Date: Fri, 23 Mar 2012 15:16:02 -0400
Barry Warsaw wrote:

> Is there any chance you can point me to the bzr revision with this fix?

http://lists.gnu.org/archive/html/emacs-diffs/2012-03/msg00071.html




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 21 Apr 2012 11:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 13 years and 55 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.