Comment 189 for bug 124406

Revision history for this message
Tommaso Cucinotta (cucinotta) wrote : Re: Keyboard keys get stuck and repeat (Feisty, Gutsy)

I don't know if this can help, but on my system (Dell Latitude D830 with Ubuntu 8.04 x86_64, details below) this happens apparently only when I launch Emacs (22.1.1) from X (using Gnome), and I try to Alt-Tab to some other applications.
I can Alt-Tab from any other applications without problems, but when I do that from Emacs (and I can edit and type whatever within Emacs without problems), keyboard hangs and does not respond anymore, but actually the entire windowing system hangs and does not even respond to mouse.
Switching to console mode, then to graphics mode again takes everything back to life again. Tried both with accelerated NVIDIA driver and with default "nv" one, behavior is the same.
Also, this behavior is *deterministic*: just one simple Alt+Tab from Emacs, and I'm lost.
I verified that it does not happen when trying to switch from a terminal running emacs22-nox.
This would seem to be a problem of the windowing system, but probably triggered by something that only Emacs does.
This was not happening before (I use a lot Emacs from X/Gnome), so it must have been caused by some recent upgrade.
For what it may concern, this happens both from the laptop keyboard and from an external one connected to the docking station (actually, it's a PS/2 keyboard routed through a PS/2->USB video/mouse/keyboard switch).

Finally, don't know if it may be relevant/useful, but it's already a few months that my Ubuntu/Gnome refuses to configure correctly the keyboard layout, no matter how many times I tell it I want an IT one by default, I always get a US one (it's only X/Gnome, because the text console gets correctly the configured default). No matter if I delete the US configuration, leaving only the IT one, it will always be US after boot.
--
Kernel (default Ubuntu): Linux laptop 2.6.24-19-generic #1 SMP Wed Aug 20 17:53:40 UTC 2008 x86_64 GNU/Linux
Attached a log of hopefully relevant installed applications along with their versions.