Bug 436694 - 'When key is held' options
Summary: 'When key is held' options
Status: RESOLVED NOT A BUG
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_keyboard (show other bugs)
Version: 5.21.4
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-06 16:08 UTC by T580-arch
Modified: 2021-05-07 10:12 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Snip from the system setting (6.67 KB, image/png)
2021-05-06 16:08 UTC, T580-arch
Details

Note You need to log in before you can comment on or make changes to this bug.
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.