Bug 487579

Summary: Only-modifier shortcut are too "fast", prevents the use of shortcuts with modifier+something combinations
Product: [Frameworks and Libraries] frameworks-kglobalaccel Reporter: Guido <guido.iodice>
Component: generalAssignee: kdelibs bugs <kdelibs-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal CC: fanzhuyifan
Priority: NOR    
Version First Reported In: 6.2.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Guido 2024-05-26 10:51:15 UTC
In the past I used this:

[ModifierOnlyShortcuts]
Alt=org.kde.krunner,/App,,displaySingleRunner,krunner_appmenu

in kwinrc to have krunner invocation with only the krunner_appmenu plugin

With kwin 6.0.90.1 this no longer works, so I created the shortcut for

qdbus org.kde.krunner /App displaySingleRunner krunner_appmenu

and it works.

The problem is that if that shortcut is just 'Alt' then I cannot use Alt+something for other purposes, because krunner_appmenu plugin starts immediately and for example I cannot use alt+f2 to start the full krunner, or other alt+ shortcut.

Previously, on the other hand, pressing alt was a small pause that allowed alt+something combinations to be used quietly.
Comment 1 Guido 2024-05-26 10:56:03 UTC
p.s. I tried 

sleep .8; qdbus org.kde.krunner /App displaySingleRunner krunner_appmenu

but still it seems to keep opening krunner immediately without the possibility of using other combinations.
Comment 2 fanzhuyifan 2024-08-01 19:41:46 UTC
Is this on wayland or on x11? 

Could you record the key events via evtest and upload those? If you could also open kwin debug console (search for that in krunner) and go to input events, that would helpful as well. Ideally a screen recording would be great. Thanks!

Fwiw the modifier-only shortcuts trigger on release of the modifier, not press. I personally cannot reproduce the issue on either wayland or x11, git master.
Comment 3 Bug Janitor Service 2024-08-16 03:47:08 UTC
๐Ÿ›๐Ÿงน โš ๏ธ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Bug Janitor Service 2024-08-31 03:47:58 UTC
๐Ÿ›๐Ÿงน This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.