Bug 436694

Summary: 'When key is held' options
Product: [Applications] systemsettings Reporter: T580-arch
Component: kcm_keyboardAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: normal CC: butirsky, kde
Priority: NOR    
Version First Reported In: 5.21.4   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Snip from the system setting

Description T580-arch 2021-05-06 16:08:32 UTC
Created attachment 138192 [details]
Snip from the system setting

SUMMARY


STEPS TO REPRODUCE
1. System setting 'When a key is held' (seen in the attachment) is brilliant. However, it should have an opt-out or something similar to exclude the backspace and arrow keys. 

If you're willing to answer me, I'd like to know the config file location and the name of it, so probably I could manage it by myself. 
My email: T580-Arch@tutanota.com

Thx for your magnificient job in everything you've done and do!

 

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Arch linux
(available in About System)
KDE Plasma Version: Plasma 5.21.4 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 David Edmundson 2021-05-07 10:12:37 UTC
I'm afraid it's not done at a Plasma level.

Clients get know the key repeat rate through xkb (or 0 for disable), and they get events when the key goes down and up.

Which means you would need to change every client in order to have the proposed behaviour, which is somewhat unfeasible.

If you want the code, you'd have to look in the qtbase/plugins/platforms/xcb and qtwayland/client and gtk/gdk/x11  gtk/gdk/wayland and so on.

and then invent a new way of communicating your new setting.