unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* 23.0.60; Weird X11 input-related hang
@ 2008-05-12 15:34 corbet
  2008-05-13  8:14 ` Jan Djärv
  0 siblings, 1 reply; 5+ messages in thread
From: corbet @ 2008-05-12 15:34 UTC (permalink / raw)
  To: emacs-pretest-bug

For quite some time I have seen a strange bug where emacs (running under
X11) would occasionally stop responding to keyboard and mouse events.  The
editor is still alive, and will change the cursor block in response to
focus events, but mouse clicks and keystrokes have no effect.  The only way
I've found to recover is to kill the emacs process and start over.

Today I figured out how to reproduce it: move the pointer to the menubar at
the top of the window, then move the scroll wheel for a click or two.
Works every time.  Does not appear to be dependent on major mode.

This happens with stock emacs as shipped by Fedora and my own pretest
builds too.


In GNU Emacs 23.0.60.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.12.0)
 of 2007-12-15 on vena
Windowing system distributor `The X.Org Foundation', version 11.0.10499901
configured using `configure  '--with-gtk' '--enable-font-backend' '--with-xft' '--with-gif=no''

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: MH-Folder

Minor modes in effect:
  hl-line-mode: t
  display-time-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  global-auto-composition-mode: t
  auto-composition-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

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

Recent messages:
nmh 1.2 installed as MH variant
Loading /home/corbet/emacs/lwn.el (source)...done
For information about GNU Emacs and the GNU system, type C-h C-a.
Scanning +inbox...done
Threading +inbox...done
inc +inbox...done
No more undeleted messages




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: 23.0.60; Weird X11 input-related hang
  2008-05-12 15:34 23.0.60; Weird X11 input-related hang corbet
@ 2008-05-13  8:14 ` Jan Djärv
  2008-05-13 17:02   ` Jonathan Corbet
  0 siblings, 1 reply; 5+ messages in thread
From: Jan Djärv @ 2008-05-13  8:14 UTC (permalink / raw)
  To: corbet; +Cc: emacs-pretest-bug



corbet@lwn.net skrev:
> For quite some time I have seen a strange bug where emacs (running under
> X11) would occasionally stop responding to keyboard and mouse events.  The
> editor is still alive, and will change the cursor block in response to
> focus events, but mouse clicks and keystrokes have no effect.  The only way
> I've found to recover is to kill the emacs process and start over.
> 
> Today I figured out how to reproduce it: move the pointer to the menubar at
> the top of the window, then move the scroll wheel for a click or two.
> Works every time.  Does not appear to be dependent on major mode.
> 

Good catch.  I checked in a fix.

	Jan D.




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: 23.0.60; Weird X11 input-related hang
@ 2008-05-13 16:56 Chong Yidong
  2008-05-13 16:58 ` Chong Yidong
  0 siblings, 1 reply; 5+ messages in thread
From: Chong Yidong @ 2008-05-13 16:56 UTC (permalink / raw)
  To: emacs-devel; +Cc: 229, corbet

corbet@lwn.net wrote:

> For quite some time I have seen a strange bug where emacs (running
> under X11) would occasionally stop responding to keyboard and mouse
> events.  The editor is still alive, and will change the cursor block
> in response to focus events, but mouse clicks and keystrokes have no
> effect.  The only way I've found to recover is to kill the emacs
> process and start over.
>
> Today I figured out how to reproduce it: move the pointer to the
> menubar at the top of the window, then move the scroll wheel for a
> click or two.  Works every time.  Does not appear to be dependent on
> major mode.
>
> This happens with stock emacs as shipped by Fedora and my own pretest
> builds too.
>
> In GNU Emacs 23.0.60.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.12.0)
> of 2007-12-15 on vena

I can't reproduce this on 23.0.60.50 (i686-pc-linux-gnu, GTK+ Version
2.12.9).

Can anyone on the list reproduce this problem?




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: 23.0.60; Weird X11 input-related hang
  2008-05-13 16:56 Chong Yidong
@ 2008-05-13 16:58 ` Chong Yidong
  0 siblings, 0 replies; 5+ messages in thread
From: Chong Yidong @ 2008-05-13 16:58 UTC (permalink / raw)
  To: emacs-devel; +Cc: 229-done, corbet

Chong Yidong <cyd@stupidchicken.com> writes:

> corbet@lwn.net wrote:
>
>> Today I figured out how to reproduce it: move the pointer to the
>> menubar at the top of the window, then move the scroll wheel for a
>> click or two.  Works every time.  Does not appear to be dependent on
>> major mode.
>
> I can't reproduce this on 23.0.60.50 (i686-pc-linux-gnu, GTK+ Version
> 2.12.9).
>
> Can anyone on the list reproduce this problem?

Ah, I see than Jan already checked in a fix.  I must have missed that
message.  Fast work, Jan.  Sorry for the noise.




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: 23.0.60; Weird X11 input-related hang
  2008-05-13  8:14 ` Jan Djärv
@ 2008-05-13 17:02   ` Jonathan Corbet
  0 siblings, 0 replies; 5+ messages in thread
From: Jonathan Corbet @ 2008-05-13 17:02 UTC (permalink / raw)
  To: =?ISO-8859-1?Q?Jan_Dj=E4rv?=; +Cc: emacs-pretest-bug

Jan Djärv <jan.h.d@swipnet.se> wrote:

> Good catch.  I checked in a fix.

Fix confirmed here - thanks for the quick action!

jon




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-05-13 17:02 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-12 15:34 23.0.60; Weird X11 input-related hang corbet
2008-05-13  8:14 ` Jan Djärv
2008-05-13 17:02   ` Jonathan Corbet
  -- strict thread matches above, loose matches on Subject: below --
2008-05-13 16:56 Chong Yidong
2008-05-13 16:58 ` Chong Yidong

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).