Subject: bug#7095: 23.1; Buffers not accessible when clicking in menubar but outside the menus

From: Helge Sychla <[email-masked]>
Date: Fri, 24 Sep 2010 11:58:14 +0200 (CEST)

--text follows this line--

After clicking in the menubar but right of all menuitems, one can not access any buffer, or work with emacs alltogether.
The Cursor just freezes and the mouse arrow stays the normal pointing arrow.
Only the icons under the menubar are accessible but without effect. 
Alt + F4 will issue the normal close dialog (ask for saving files).

The issue can be resolved with opening and closing an actual menuitem in the menubar.
After that, everything is back to normal.

In GNU Emacs 23.1.1 (x86_64-pc-linux-gnu, GTK+ Version 2.20.0)
 of 2010-03-29 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.UTF-8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default-enable-multibyte-characters: t

Major mode: Erlang

Minor modes in effect:
  global-linum-mode: t
  linum-mode: t
  show-paren-mode: t
  global-whitespace-mode: t
  cua-mode: t
  tooltip-mode: t
  tool-bar-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
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t
  auto-fill-mode: 1

Recent input:
i n d f o <backspace> <backspace> f <backspace> <backspace> 
f o ( ) . <return> <down-mouse-1> <mouse-1> <help-echo> 
C-x C-f u c <tab> p <tab> <return> C-c C-k C-x <C-right> 
C-x <C-left> C-x <C-left> C-x <C-right> C-x <C-right> 
C-x <C-right> C-c C-k C-x o <C-up> <C-up> <C-up> <C-up> 
<C-up> <C-up> <C-up> <C-up> <C-up> <C-up> <C-up> <C-up> 
<C-up> <C-up> <C-up> <C-up> <C-up> <C-up> <C-down> 
<C-up> <return> <C-up> <C-up> <C-up> <C-down> <C-up> 
<C-up> <C-up> <C-up> <C-up> <C-up> <C-up> <C-up> <C-up> 
<C-up> <C-up> <C-up> <C-up> <C-up> <C-up> <C-down> 
<C-down> <C-down> <C-down> <C-down> <C-up> <C-up> <C-up> 
<C-up> <C-up> <C-up> <C-up> <C-up> <C-up> <C-up> <C-up> 
<C-up> <C-up> <C-up> <C-up> <C-up> <C-up> <C-up> <C-up> 
<C-up> <C-up> <C-up> <C-down> <C-up> <C-up> <C-up> 
<C-down> <C-down> <C-down> <C-down> <C-down> <C-down> 
<C-down> <C-down> <C-down> <C-down> <C-down> <C-down> 
<C-down> <C-down> <C-down> <C-down> <C-down> <C-down> 
<C-down> <C-down> <C-down> <C-down> <C-down> <C-down> 
<C-down> <C-down> <C-down> <C-down> <C-down> <C-down> 
<C-down> <C-down> <C-down> <C-down> <C-down> <C-down> 
u c m _ m a i n : s t a r t ( ) . <return> <C-up> <left> 
<left> <left> <right> <right> <right> <down> <C-down> 
m e m <C-up> <C-up> <C-up> <C-up> <return> <C-up> <C-up> 
<C-up> <return> <C-up> <C-up> <return> u c m _ l a 
o d <backspace> <backspace> <backspace> o a d _ d e 
f a u l t s <C-left> <C-left> <backspace> _ m a i n 
: <end> ( ) . <return> <C-up> <C-up> <return> <help-echo> 
<help-echo> <help-echo> <down-mouse-1> <mouse-1> C-x 
o C-x 1 C-x <C-right> C-x k <return> C-x k <return> 
C-x k <return> C-x <C-right> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> C-c C-c C-h v <escape> 
<escape> <return> <return> C-_ <help-echo> <down-mouse-1> 
<mouse-1> <help-echo> <help-echo> <help-echo> <help-echo> 
<down-mouse-1> <mouse-1> C-x 1 M-x r e p o <tab> <down> 
<up> <down> <up> r t <tab> <return>

Recent messages:
The mark is not set now, so there is no region
You did not specify a variable
undo-more: No further undo information
Making completion list...
/usr/bin/mail is not an executable.  Setting mail-interactive to t.