Bug 488144

Summary: Setting for the length of time that a press-and-hold is needed to trigger its effect, like the double-click threshold setting
Product: [Applications] systemsettings Reporter: m1vri31c
Component: generalAssignee: Plasma Bugs List <plasma-bugs-null>
Status: CONFIRMED ---    
Severity: wishlist CC: nate
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: NixOS   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description m1vri31c 2024-06-07 06:35:44 UTC
SUMMARY
There is no way to alter the touch and hold for secondary click length. 

SOFTWARE/OS VERSIONS
NixOS 24.11 (unstable channel)
KDE Plasma Version: 6.0.5
KDE Frameworks Version: 6.2.0 
Qt Version: 6.7.1
Comment 1 Nate Graham 2024-06-07 15:01:04 UTC
That's correct. At the moment every app needs to implement this themselves; we can't impose "press-and-hold to see a context menu" at the KWin level or else it would break every app that does have its own press-and-hold setting. This means every app gets to choose its own definition of what constitutes a press-and-hold. This is indeed very messy. Ideally there would be a central threshold setting and every app would honor it.

We'd need to create that setting and then port every app to use it. Not impossible, but quite a significant project.