Reply to topic

Keyboard repeat without pressing a key

moduli
Registered Member
Posts
6
Karma
0
OS
Hello.

The keyboard repeat for my laptop has a problem, so I would like to ask you about it. (If there is a more suitable forum for my question, let me know.)

Occasionally a key repeats although I do not press the key. I would like to prevent this phenomenon.

The phenomenon happens when I am pressing Ctrl+w again and again. After several times of Ctrl+w, w is inserted repeatedly without pressing any key. I have checked that this happens on several applications: firefox, konqueror, KWrite and emacs23. The same phenomenon happens with Ctrl+s as well. (I have not check other keybinds, because the phenomenon does not often happen.) Pressing any key stops this phenomenon. In System Settings for KDE, Changing Rate and Delay does not solve this problem.

If I disable the keyboard repeat by configuring System Settings for KDE, then the phenomenon seems not to happen. But I do not want to do.

Could anyone possibly tell me how to prevent this unexpected phenomenon?

My PC is Dell Dell Latitude E6220. I am working with KDE 4.6.4 on Vine Linux. I have swapped Ctrl and Caps Lock. If more information is needed, let me know.
User avatar bcooksley
Administrator
Posts
18669
Karma
83
OS
Unfortunately diagnosing this bug will be fairly difficult. The best tool to be running would be "xev" in the background, then check to see if the KeyPressEvent and KeyReleaseEvent entries for keys match up, and what happens when you press a key to stop this broken repeating.

Another thing you may wish to try is changing your keyboard layout.


System Settings and Device Actions KCM maintainer
Image
moduli
Registered Member
Posts
6
Karma
0
OS
Thank you for your suggestion. I have tried to us keyboard layout, but the same phenomenon still happens. (The default keyboard layout would be de keyboard.)

I have taken a log by xev: http://pastebin.com/Ykgz8CxS . I pressed Ctrl+w 8 times. After that, the phenomenon happened. (I think that it can be seen around Line 339 in the log.) I pressed "f" key (Line 730), the key repeat ended.

(If there is a way to prevent keyboard repeat for only specific keys, let me know.)
moduli
Registered Member
Posts
6
Karma
0
OS
* I have checked that the same phenomenon happens on KDE for Live USB of the latest openSUSE.
* I have checked that the same phenomenon happens on GNOME.
* I have tried pressing Ctrl+x on Windows 7. (I have not tried Ctrl+w because it closes applications.) But the phenomenon did not happens.
* I tried Ctrl+x and Ctrl+e on KDE for Vine Linux. But I have not made the phenomenon happen yet.
User avatar bcooksley
Administrator
Posts
18669
Karma
83
OS
Given that it happens under GNOME & KDE it is likely a bug in X with regards to keyboard handling. When I experienced this on my old computer, it was usually because the Model or Keyboard layout selected were incorect. Have you tried changing the model?


System Settings and Device Actions KCM maintainer
Image
moduli
Registered Member
Posts
6
Karma
0
OS
I have tried the things following. But the phenomenon still happens.

Keyboard Model:
* Dell | Dell Latitude series laptop
* Dell | Dell 101-key PC
* Dell | USB Multimedia Keyboard
* Generic | Generic 105-key (Intl) PC

Keyboard Layout is "Germany". I have tried default and qwerty for Variant. My laptop is Dell Latitude E6220. I bought it in Germany, and the keyboard must be German keyboard.

Is there any other Model or Layout I should try?
User avatar bcooksley
Administrator
Posts
18669
Karma
83
OS
Those all look fine to me. I would suggest reporting this as a X bug.


System Settings and Device Actions KCM maintainer
Image
User avatar rubo77
Registered Member
Posts
33
Karma
0
OS
Did you solve this?

if so, you could answer the question on http://unix.stackexchange.com/questions ... sing-a-key

 
Reply to topic

Bookmarks



Who is online

Registered users: Alastair, apater, Baidu [Spider], Bing [Bot], Exabot [Bot], garthecho, ggael, Giacomo, Google [Bot], google01103, Horus, jitseniesen, Joif, kde-jriddell, ken300, La Ninje, Mamarok, mmistretta, Nuc!eoN, psbot [Picsearch], rbruce, renatoatilio, sacarde, sinclair, stephans, TheraHedwig, tienhung, wolfi323, Yahoo [Bot]