Subject: bug#7162: 23.1; clicking in menu bar blank area hangs emacs interface

From: James Harkins <[email-masked]>
Date: Tue, 5 Oct 2010 14:51:13 +0800

When I click in the menu bar area to the right of "Help" (where there is no
menu), Emacs 23 on my ubuntu 10.04 box "hangs" - not really hangs, but it
stops responding to keypresses and the cursor in the active buffer is no
longer blinking.

I can restore normal functioning by clicking on a menu (in the menu bar) and
then dismissing the menu. So again, it's not that the process hangs, but why
does a mouse click lock up the rest of the interface so that only opening a
menu clears it?

Correct behavior would be to ignore mouse clicks in the menu bar area that
don't open a menu.

(Clicking in the title bar is OK.)

Ubuntu 10.04 (amd64), gnome desktop, GNU Emacs 23.1.1 (x86_64-pc-linux-gnu,
GTK+ Version 2.20.0)

In GNU Emacs 23.1.1 (x86_64-pc-linux-gnu, GTK+ Version 2.20.0)
 of 2010-03-30 on yellow, modified by Debian
Windowing system distributor `The X.Org Foundation', version 11.0.10706000
configured using `configure  '--build=x86_64-linux-gnu'
'--host=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.1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.1/site-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/23.1/leim'
'--with-x=yes' '--with-x-toolkit=gtk' '--with-toolkit-scroll-bars'
'build_alias=x86_64-linux-gnu' 'host_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: Org

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

Recent input:
<triple-down-mouse-4> <triple-mouse-4> <triple-down-mouse-4>
<triple-mouse-4> <triple-down-mouse-4> <triple-mouse-4>
<triple-down-mouse-4> <triple-mouse-4> <triple-down-mouse-4>
<triple-mouse-4> <triple-down-mouse-4> <triple-mouse-4>
<triple-down-mouse-4> <triple-mouse-4> <triple-down-mouse-4>
<triple-mouse-4> <triple-down-mouse-4> <triple-mouse-4>
<triple-down-mouse-4> <triple-mouse-4> <triple-down-mouse-4>
<triple-mouse-4> <triple-down-mouse-4> <triple-mouse-4>
<triple-down-mouse-4> <triple-mouse-4> <triple-down-mouse-4>
<triple-mouse-4> <triple-down-mouse-4> <triple-mouse-4>
<triple-down-mouse-4> <triple-mouse-4> <triple-down-mouse-4>
<triple-mouse-4> <triple-down-mouse-4> <triple-mouse-4>
<down-mouse-1> <mouse-1> C-v <down-mouse-1> <mouse-1>
C-x b <return> <kp-next> <kp-next> <kp-next> <kp-next>
<kp-next> <kp-next> <kp-next> <kp-next> <kp-next> <kp-next>
<down-mouse-1> <mouse-1> C-r s t o p c l e <return>
<down> <down> <down> <left> <left> <left> <return>
<tab> ~ m S p e e d P l a y e r SPC = SPC n i l ; C-x
s C-c C-f C-x b <return> <up> <up> <up> <up> <up> <up>
<up> <up> <up> <up> C-v <help-echo> <down> C-v <down>
<down> <down> <down> <down> <down> <down> <down> <down>
<down> <down> <down> <down> <down> <down> <down> <down>
<down> <down> <down> <down> <up> <up> <up> <up> C-M-x
C-c , <help-echo> <down-mouse-1> <mouse-1> C-c C-l
<down-mouse-1> <mouse-1> C-x b t - d <return> C-s m
s p e e d p <return> <up> <down> <C-right> <C-S-left>
<S-left> M-w <up> <kp-end> <return> <tab> C-y SPC =
SPC n i <backspace> <backspace> <backspace> <backspace>
<backspace> . s t o p ; C-x s C-x b 0 1 <return> <up>
<right> C-c , C-M-x <help-echo> <down-mouse-1> <mouse-1>
<C-home> <down> <down> C-v <down-mouse-1> <mouse-1>
<help-echo> <down-mouse-1> <mouse-1> C-x b a f <return>
<S-right> <up> <up> <up> <up> <up> <up> <up> <up> <up>
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <tab>
<down> <down> <down> <down> <down> <down> <down> <down>
<tab> <down> <tab> <down> <down> <down> <down> <down>
<down> <down> <down> <down> <down> <down> <down> <down>
<down> <down> <down> <down> <down> <up> <up> <up> <up>
<up> <down> <down> C-x 5 2 <switch-frame> <switch-frame>
<down-mouse-1> <mouse-movement> <mouse-1> M-x r e p
o r t - e m <tab> b u g <return>

Recent messages:
SCLang: Initializing library...
SCLang: Indexing help topics ... Done
SCLang: Initializing library...done
Mark saved where search started
Mark set [2 times]
Saving file
/home/dlm/share/SuperCollider/scd/kc.git/trunk/feet/feet-defs.scd...
Wrote /home/dlm/share/SuperCollider/scd/kc.git/trunk/feet/feet-defs.scd
Mark set
CHILDREN [3 times]
/usr/bin/mail is not an executable.  Setting mail-interactive to t.