X11 eating the keystrokes for "4" or "6" from all applications
X11 eating the keystrokes for "4" or "6" from all applications
- Subject: X11 eating the keystrokes for "4" or "6" from all applications
- From: Pekka Nikander <email@hidden>
- Date: Mon, 17 Mar 2003 06:48:10 -0800
Since a few days I have had a very strange problem
with the X11 public beta version 0.2. I think
this started after I compiled emacs for X11 and
started to use it, but that may be unrelated.
The sympton is that suddenly some key on the keyboard
stops working. So far the non-working key has always
been "4" or "6", but my feeling is that the non-working
key might be any of the keys used for keyboard control.
I am not sure if there is any correlation, but I have
configured the Mac OS X full keyboard access to use
number keys "1", "2", "4", "5" and "6" (+ctrl) to activate
the keyboad access functions "Menu", "Dock", etc,
and the dead key has always been "4" or "6", so far.
When the problem happens, the key in question apparently
stops working in all applications. It feels like the
key is completely dead, physically broken. When this
happened for the first time, I thought that I had got
something under the key. I even took off the key cap,
carefully cleaned everything underneath it and all the
keys nearby, and wondered why it did not work. I even
despared that I need to call Apple Care and announce
a broken keyboard. However, I eventually rebooted the
machine and the problem was "magically" cured.
When the same thing happend again, I began to suspect
something fishy, and started to investigate. I first
noticed that there is one application that still sees
the dead key, the Key Caps utility. The Key Caps utility
still shows key presses and releases while in all other
applicatios the key is apparently dead. That lead me
to think that some application must be "stealing" the
key press and release events on some very low level.
By testing I found out that the problem is cured if
I quit X11. That is, once the X11 processes are not
running any more, the so far dead key starts to work again.
Thus, it looks like X11 beta 2.0 sometimes does something
wrong with some key events, probably those used for full
keyboard access. Furthermore, it may be required that an
X11 enabled emacs is running on local machine. In my case,
I compiled the emacs from the CVS sources as explained
at http://members.shaw.ca/akochoi-emacs/.
Currently the problem happens to me about once a day,
so it is debuggable. It is also quite irritating since
it always requires me to restart X11 and all X11 apps
sooner or later. I am open to suggestions how to debug
any further.
Has anyone else seen anything like this? Should I file
a bug report, or is this an already known problem?
--Pekka Nikander
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/x11-users
X11 for Mac OS X FAQ: http://developer.apple.com/qa/qa2001/qa1232.html
Report issues, request features, feedback: http://developer.apple.com/bugreporter
Do not post admin requests to the list. They will be ignored.