Keyboard stops responding in certain windows
Submitted by Tristan Miller
Assigned to Xorg Project Team
Link to original bug (#101955)
Description
I'm running X.Org 7.6 on openSUSE Tumbleweed and am experiencing a strange problem whereby certain applications stop responding to keyboard input. The problem happens pretty rarely (about every week or two) but is nonetheless pretty annoying.
I can't say for sure whether the problem is in the X server, my desktop environment (KDE/Plasma5), or its window manager (kwin_x11), though maybe the following information can help narrow it down.
Basically, the problem is that after using my computer for some period of time, certain applications will stop responding to keyboard input. The applications still respond to mouse input. Switching to a text console and back does not have any effect. Quitting and restarting the application will usually (but not always) solve the problem. If restarting the application doesn't solve the problem, then restarting the X server does.
The problem is not limited to KDE or Qt-based applications. So far I've observed it happening with Konsole, Claws Mail, SeaMonkey, and Plasma5 widgets such as KRunner and the Application Launcher.
I suspected that the problem might be a regression of Bug 21141 (which turned out to be KWin grabbing the keyboard). However, killing kwin doesn't fix the problem; the keyboard remains unresponsive in the affected applications. Restarting Plasma5 also has no effect. Running the grabber from http://people.freedesktop.org/~whot/grabtest.c results in two success messages, even when I give focus to one of the applications not responding to keyboard input.
So now I'm thinking the problem might be with the X server. Any ideas?
Version: 7.6 (2010.12)