Bug 509683

Summary: Add feature for not accepting keys being held in the password's input field
Product: [Plasma] plasmashell Reporter: Fernando Marcelino Muniz <fernandommuniz>
Component: Screen lockingAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED INTENTIONAL    
Severity: wishlist CC: nate
Priority: NOR Keywords: accessibility, usability
Version First Reported In: 6.4.5   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Fernando Marcelino Muniz 2025-09-19 14:45:56 UTC
STEPS TO REPRODUCE
Hold a key, intentionally or not, at the password's input field.

OBSERVED RESULT
It will repeat the key being held.

EXPECTED RESULT
It shouldn't repeat keys since there's no practical use in the password's input field.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.4.5
KDE Frameworks Version: 6.18.0
Qt Version: 6.9.2
Kernel Version: 6.16.7-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 8 × 11th Gen Intel® Core™ i5-11300H @ 3.10GHz
Memory: 9 GB of RAM (8.1 GB usable)
Graphics Processor 1: NVIDIA GeForce GTX 1650
Graphics Processor 2: Intel® Iris® Xe Graphics
Manufacturer: LENOVO
Product Name: 82MG
System Version: IdeaPad Gaming 3 15IHU6

ADDITIONAL INFORMATION
Using the existing option in the keyboard layout settings that deactivates it for all use cases is not an ideal solution.

I guess this should also benefit some people with hand disabilities.
Comment 1 Nate Graham 2025-09-19 18:10:36 UTC
You're probably right that there's no particular use case for key repeat in a text field where you need to precisely enter the correct thing.

But on the other hand, disabling it would reduce consistency and actually require quite a lot of code, as there's no built-in feature to override key repeat in a specific text field. So we'd have to roll our own. Since this text field is security-sensitive, I think using the standard one is safer, which means saying no to this idea, sorry.