Bug 511639

Summary: Shift key stuck using IBus Wayland virtual keyboard
Product: [Applications] systemsettings Reporter: daniel
Component: kcm_kwinvirtualkeyboardAssignee: KWin default assignee <kwin-bugs-null>
Status: REPORTED ---    
Severity: normal CC: aleixpol, duha.bugs
Priority: NOR    
Version First Reported In: 6.4.5   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description daniel 2025-11-04 18:56:30 UTC
SUMMARY

If I have the Virtual Keyboard in system settings set to "IBus Wayland", alt-tab from vscode or slack to a terminal and back cause the keyboard to be stuck in shift-mode.

STEPS TO REPRODUCE
1. Ensure IBus Wayland is selected for Virtual Kayboard
2. Go to a VS Code editor and type some characters, for example 111
3. alt-tab to a Konsole window such that it gets focus
4. alt-tab back to VS Code 
5. Try to type using the same key and notice its like shift is held

OBSERVED RESULT

In my case the 1 then turns into ! on a norwegian keyboard layout.

EXPECTED RESULT

1 should still type 1

SOFTWARE/OS VERSIONS

Linux/KDE Plasma: 6.4.5
KDE Plasma Version: 6.4.5
KDE Frameworks Version: 6.17.0
Qt Version: 6.9.2

ADDITIONAL INFORMATION

Note that this only seem to happen for some apps. I have noticed it on VS Code and Slack. Others like Kate does not have this problem.

In addition it does not happen with all keys, for example letters do not turn into uppercase. But it seem to affect all symbols I have tried.

For me it's 100% reproducible. And if I change the virtual keyboard to anything other than IBus Wayland the problem goes away.

Also note that this happened after I upgraded my Kubuntu from 25.04 to 25.10.