Created attachment 140226 [details] case1 SUMMARY My previous system with KDE 5.12 or 5.15 do not have problem. It randomly happens, when I press some keys, such as Alt+TAB to switch between Kwrite to Vivaldi browser, then instead of Vivaldi window is active, TAB is wrote down in KWrite. It randomly happens so I can't exactly reproduce the bug but for particular situation the bug seems to appear frequently. Case 1: Alt+TAB, it's random, but as you can see on video, where I use 'ScreenKey' to capture key press, Alt+TAB are pressed but no windows switching. Case 2: I could reproduce the situation where KDE does not respond with key press. Note1: It happens even with KDE+openbox instead of kwin. Note2: It does not happens with KDE Plasma 5.12, so it's not TimeSlotTracker's problem (the program I used in this experiment below). Download TimeSlotTracker here: https://sourceforge.net/projects/timeslottracker/ STEPS TO REPRODUCE 1. Open TimeSlotTracker 2. Create new task 3. F2 to edit task 4. Esc to close the edit window, then immediately press some key (Alt+TAB, Alt+F2,..., etc.). In the video I press Alt+F2. OBSERVED RESULT Both TimeSlotTracker edit window and Krunner appear. EXPECTED RESULT Only Krunner is activate. SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: (available in About System) KDE Plasma Version: 5.20.4 KDE Frameworks Version: 5.76.0 Qt Version: 5.15.2 ADDITIONAL INFORMATION
Created attachment 140227 [details] case2
Other person has the same issue! https://forum.kde.org/viewtopic.php?f=309&t=171976&p=447499&hilit=keyboard
Any chance you can upgrade to a new frameworks version and see if it still happens? YOu have Frameworks 5.76 which is 9 months old.
I've tested with OpenSuse Live Tumbleweed 20210802, and it seems that there is NO problem with this version. KDE Plasma Version: 5.22.4 KDE Frameworks Version: 5.84.0
OK, great!
I've installed Suse Leap 15.3 and then installs KDE Plasma 5.22.4, (Frameworks v5.84.0). Unfortunately that there's still problem. But I figured out that it may relate to configurations (which worked without problem before with previous versions of KDE). Freshly created user does not have problem. Now I tried to reset KDE configs and it's pain to figure which files are KDE configs.
Before resetting KDE configs, I clean the ~/.config folder (in text mode), remove all backups and old applications' configs. I avoid to touch any k* files or anything relates to plasma, only kde config files I removed are kglobalshortcutsrc.XXXXXX. To make sure everything is OK before the resetting, I login to KDE. Krunner history is gone and keyboard's responding returns to normal.
My problem is likely caused by ibus. Sorry for taking your time!