Bug 514382

Summary: Plasma Keyboard steals inputs when hidden by a mouse click
Product: [Plasma] Plasma Keyboard Reporter: hexagonspawn
Component: generalAssignee: Plasma Bugs List <plasma-bugs-null>
Status: REPORTED ---    
Severity: normal CC: aleixpol
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: EndeavourOS   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description hexagonspawn 2026-01-09 19:24:22 UTC
SUMMARY
Using and then hiding Plasma Keyboard leads to unintentional character inputs from physical keyboards as it continues to interpret keyboard inputs.

Physical arrow keys will move the selected key in Plasma Keyboard and hitting enter will make Plasma keyboard send whatever key is still highlighted (but not visible) into the selected field.

STEPS TO REPRODUCE
1. Enable Plasma Keyboard as a Virtual Keyboard
2. Enter Konsole and hide Plasma Keyboard
3. Send arrow key inputs from a physical keyboard
4. Further input into Konsole matches Plasma Keyboard selected key and not key entered on physical keyboard.

OBSERVED RESULT
Plasma Keyboard is leading to unintended character input.

EXPECTED RESULT
Keys should be interpreted correctly regardless of Plasma Keyboard being shown/hidden.

SOFTWARE/OS VERSIONS
Operating System: EndeavourOS 
KDE Plasma Version: 6.5.4
KDE Frameworks Version: 6.21.0
Qt Version: 6.10.1
Kernel Version: 6.18.3-zen1-1-zen (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i5-8265U CPU @ 1.60GHz
Memory: 8 GiB of RAM (7.5 GiB usable)
Graphics Processor: Mesa Intel® UHD Graphics 620

ADDITIONAL INFORMATION