GNU bug report logs - #7212
23.2; GTK+ Emacs hangs when focused by clicking on blank part of menu bar

Previous Next

Package: emacs;

Reported by: Anders Kaseorg <andersk <at> MIT.EDU>

Date: Thu, 14 Oct 2010 00:30:03 UTC

Severity: important

Tags: patch

Merged with 6499, 7095, 7162, 7294, 7714, 7734

Found in versions 23.1, 23.2

Fixed in version 23.3

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

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 7212 in the body.
You can then email your comments to 7212 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 owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#7212; Package emacs. (Thu, 14 Oct 2010 00:30:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Anders Kaseorg <andersk <at> MIT.EDU>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Thu, 14 Oct 2010 00:30:04 GMT) Full text and rfc822 format available.

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

From: Anders Kaseorg <andersk <at> MIT.EDU>
To: bug-gnu-emacs <at> gnu.org
Subject: 23.2;
	GTK+ Emacs hangs when focused by clicking on blank part of menu bar
Date: Wed, 13 Oct 2010 20:26:05 -0400
When using a GTK+ Emacs window, if I focus another application, then
refocus Emacs by clicking on the blank part of the Emacs menu bar (to
the right of the Help menu), the Emacs window stops responding:

• It is no longer possible to type into the buffer or run commands from
  the keyboard.
• The arrow keys do nothing but select toolbar buttons; Tab moves back
  to the first toolbar button.
• Using the toolbar buttons with either the keyboard or the mouse writes
  (e.g.) “tool-bar new-file” to the minibuf, but have no other effect.
• The toolbar can be detached, and the keyboard or mouse can be used to
  select things on the detached toolbar, but they still have no effect.
• The scroll bar can be dragged around but does not move the buffer.
• The window frame can be resized, but neither the buffers nor the
  scrollbar are redrawn at the new size.
• If the window was an emacsclient frame, all other open emacsclient
  frames, both graphical and terminal, stop responding in the same way.
• If I open a new emacsclient frame (of either type), I get a completely
  white window except for the caption “When done with this frame, type
  C-x 5 0”.

If I click on one of the menus (sometimes two clicks are required), it
opens, and after the menu is dismissed, Emacs begins responding normally
again.  This is the only way I’ve found to unfreeze it from this state.


In GNU Emacs 23.2.1 (x86_64-pc-linux-gnu, GTK+ Version 2.21.6)
 of 2010-09-01 on americium, modified by Debian
Windowing system distributor `The X.Org Foundation', version 11.0.10900000
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.2/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.2/site-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/23.2/leim' '--with-x=yes' '--with-x-toolkit=gtk' '--with-toolkit-scroll-bars' 'build_alias=x86_64-linux-gnu' 'CFLAGS=-DDEBIAN -g -O2' 'LDFLAGS=-g' 'CPPFLAGS=''

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

Major mode: Lisp Interaction

Minor modes in effect:
  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
  blink-cursor-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
M-x r e p o r t - e m a c s - b u g <return>

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.

Load-path shadows:
/usr/share/emacs/23.2/site-lisp/debathena-discuss-emacs/discuss-acl hides /usr/share/emacs/site-lisp/discuss-acl
/usr/share/emacs/23.2/site-lisp/debathena-discuss-emacs/discuss hides /usr/share/emacs/site-lisp/discuss
/usr/share/emacs/23.2/site-lisp/debathena-discuss-emacs/discuss-misc hides /usr/share/emacs/site-lisp/discuss-misc
/usr/share/emacs/23.2/site-lisp/debian-startup hides /usr/share/emacs/site-lisp/debian-startup
/usr/share/emacs/23.2/site-lisp/debathena-discuss-emacs/discuss-enter hides /usr/share/emacs/site-lisp/discuss-enter
/usr/share/emacs/23.2/site-lisp/magit hides /usr/share/emacs/site-lisp/magit
/usr/share/emacs/23.2/site-lisp/debathena-discuss-emacs/discuss-ls hides /usr/share/emacs/site-lisp/discuss-ls
/usr/share/emacs/23.2/site-lisp/speedbar/speedbar hides /usr/share/emacs/23.2/lisp/speedbar
/usr/share/emacs/23.2/site-lisp/cedet-common/ezimage hides /usr/share/emacs/23.2/lisp/ezimage
/usr/share/emacs/23.2/site-lisp/speedbar/sb-image hides /usr/share/emacs/23.2/lisp/sb-image
/usr/share/emacs/23.2/site-lisp/speedbar/dframe hides /usr/share/emacs/23.2/lisp/dframe
/usr/share/emacs/site-lisp/rst hides /usr/share/emacs/23.2/lisp/textmodes/rst
/usr/share/emacs/23.2/site-lisp/dictionaries-common/ispell hides /usr/share/emacs/23.2/lisp/textmodes/ispell
/usr/share/emacs/23.2/site-lisp/dictionaries-common/flyspell hides /usr/share/emacs/23.2/lisp/textmodes/flyspell
/usr/share/emacs/23.2/site-lisp/eieio/eieio-opt hides /usr/share/emacs/23.2/lisp/emacs-lisp/eieio-opt
/usr/share/emacs/23.2/site-lisp/eieio/eieio-comp hides /usr/share/emacs/23.2/lisp/emacs-lisp/eieio-comp
/usr/share/emacs/23.2/site-lisp/eieio/eieio-base hides /usr/share/emacs/23.2/lisp/emacs-lisp/eieio-base
/usr/share/emacs/23.2/site-lisp/eieio/eieio-speedbar hides /usr/share/emacs/23.2/lisp/emacs-lisp/eieio-speedbar
/usr/share/emacs/23.2/site-lisp/eieio/eieio hides /usr/share/emacs/23.2/lisp/emacs-lisp/eieio
/usr/share/emacs/23.2/site-lisp/eieio/eieio-custom hides /usr/share/emacs/23.2/lisp/emacs-lisp/eieio-custom
/usr/share/emacs/23.2/site-lisp/eieio/chart hides /usr/share/emacs/23.2/lisp/emacs-lisp/chart
/usr/share/emacs/23.2/site-lisp/cedet-common/inversion hides /usr/share/emacs/23.2/lisp/cedet/inversion
/usr/share/emacs/23.2/site-lisp/cedet-common/cedet hides /usr/share/emacs/23.2/lisp/cedet/cedet
/usr/share/emacs/23.2/site-lisp/semantic/semantic hides /usr/share/emacs/23.2/lisp/cedet/semantic
/usr/share/emacs/23.2/site-lisp/ede/ede hides /usr/share/emacs/23.2/lisp/cedet/ede
/usr/share/emacs/23.2/site-lisp/cedet-common/cedet-files hides /usr/share/emacs/23.2/lisp/cedet/cedet-files
/usr/share/emacs/23.2/site-lisp/cedet-common/mode-local hides /usr/share/emacs/23.2/lisp/cedet/mode-local

Features:
(shadow sort mail-extr message sendmail regexp-opt ecomplete rfc822 mml
easymenu 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 hex-util hashcash mail-utils emacsbug 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)




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

Notification sent to Anders Kaseorg <andersk <at> MIT.EDU>:
bug acknowledged by developer. (Thu, 14 Oct 2010 08:26:02 GMT) Full text and rfc822 format available.

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

From: Jan Djärv <jan.h.d <at> swipnet.se>
To: Anders Kaseorg <andersk <at> MIT.EDU>
Cc: 7212-done <at> debbugs.gnu.org
Subject: Re: bug#7212: 23.2; GTK+ Emacs hangs when focused by clicking on
	blank part of menu bar
Date: Thu, 14 Oct 2010 10:28:47 +0200
2010-10-14 02:26, Anders Kaseorg skrev:
> When using a GTK+ Emacs window, if I focus another application, then
> refocus Emacs by clicking on the blank part of the Emacs menu bar (to
> the right of the Help menu), the Emacs window stops responding:

This is a duplicate of bug#6499 
(http://debbugs.gnu.org/cgi/bugreport.cgi?bug=6499) and has been fixed in the 
emacs-23 branch (upcoming emacs 23.3 version).

Thanks,

	Jan D.




Forcibly Merged 6499 7096 7162 7212. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Thu, 14 Oct 2010 15:50:03 GMT) Full text and rfc822 format available.

Disconnected #7096 from all other report(s). Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Thu, 14 Oct 2010 15:53:02 GMT) Full text and rfc822 format available.

Forcibly Merged 6499 7095 7162 7212. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Thu, 14 Oct 2010 15:53:02 GMT) Full text and rfc822 format available.

bug Marked as fixed in versions 23.3. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Thu, 14 Oct 2010 16:01:02 GMT) Full text and rfc822 format available.

Forcibly Merged 6499 7095 7162 7212 7294. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Thu, 28 Oct 2010 02:55:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 25 Nov 2010 12:24:03 GMT) Full text and rfc822 format available.

bug unarchived. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Fri, 31 Dec 2010 01:30:05 GMT) Full text and rfc822 format available.

Forcibly Merged 6499 7095 7162 7212 7294 7714. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Fri, 31 Dec 2010 01:30:05 GMT) Full text and rfc822 format available.

Forcibly Merged 6499 7095 7162 7212 7294 7714 7818. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Tue, 18 Jan 2011 08:05:02 GMT) Full text and rfc822 format available.

Disconnected #7818 from all other report(s). Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Tue, 18 Jan 2011 18:26:01 GMT) Full text and rfc822 format available.

Forcibly Merged 6499 7095 7162 7212 7294 7714 7734. Request was from Chong Yidong <cyd <at> stupidchicken.com> to control <at> debbugs.gnu.org. (Sat, 22 Jan 2011 21:30:03 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 20 Feb 2011 12:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 14 years and 174 days ago.

Previous Next


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