Hi, I've been a happy Xfce4.2 user, and decided to try out the beta. However, in the new xfce, randomy input keystrokes dissapear. Like when typing this exact message, some keystrokes don't get through, and I need to repeat them; very annoying! It's about one keystroke on every word that misses. But I can't really discover a pattern. I've tried looking in xev, and there input also misses. I figured it might be an X prob (even though I didn't update X), but starting a basic X w/out a WM and only xterm, everything is OK. Even with xfwm4 started; no problem. However, if I then start the panel, it starts going wrong. I guess the problem lies in some xfce lib? I've tried the keyboard config settings in the settings dialog. Disabled/enabled all options, tried the sliders all 2 left & Right, but no hope. If I knew more how to debug this, I'm glad to do so.
Looks like a bug in your X driver (from memory, we had a similar report from a user with a laptop) or in the kernel (like with interrupts). I think it's triggered when changing X keyboard settings. This is why you don't see that with basic window managers (which don't touch keyboard settings at all) You could try from a terminal xset r off You could also remove the MCS keyboard settings[*] and restart X completely to see if that's related. [*] locate keyboard_plugin.so and remove or rename it so it doesn't get loaded at startup. On my system, the plugin is located here: /usr/local/lib/xfce4/mcs-plugins/keyboard_plugin.so
I've tried your cmd, as well as chmod 000 'ing that lib, but both did not help. I'm indeed a laptop user though, so maybe I have the same problem has the other user. Did he solve his problem?
(In reply to comment #2) > I've tried your cmd, as well as chmod 000 'ing that lib, but both did not > help I'm not sure chmod would suffice, try renaming it. > I'm indeed a laptop user though, so maybe I have the same problem has the other > user. Did he solve his problem? He has never followed up on his report, so we basically close it.
I've tried it, unfortunately, no improvement. Their is no relation with cpu usage, however typing at aprox. 1char/0.5sec is a remedy. should I post my X log?
I'll report back when I've tried the 4.4 release...
As far as I can see for now, removing the Battery status monitor from my XFCE Panel has resolved the issue! God knows why the battery plugin ate up input, but I'm happy to help you guys debug it. I'm a laptop user, and the battery plugin worked excellent on my system.
Wow, at least we can pinpoint it... Thanks.
I guess it's my bug then...
Can I do anything to help debug this?
I notice missed keystrokes using the battery monitor on Neoware m100 laptops (Via VN800 Chipset). Stopping the battery monitor causes the keyboard to behave normally. I believe this is actually a Linux kernel bug. I've traced the problem to reading /proc/acpi/battery/BAT1/info. I can reliably cause keyboard events to be lost by running this from the shell: while sleep 1; do cat /proc/acpi/battery/BAT1/info >/dev/null; done I lose keystrokes even without X running. I'm not sure which exact kernel patch fixed the problem, but it does not occur in Linux 2.6.24 and later. I haven't tested too far back to see if the bug is long standing, but it appears to be in all of the 2.6.22 and 2.6.23 kernels.
This was a linux kernel bug, which has been fixed. Nothing to do here