Bug 487579 - Only-modifier shortcut are too "fast", prevents the use of shortcuts with modifier+something combinations
Summary: Only-modifier shortcut are too "fast", prevents the use of shortcuts with mod...
Status: RESOLVED WORKSFORME
Alias: None
Product: frameworks-kglobalaccel
Classification: Frameworks and Libraries
Component: general (other bugs)
Version First Reported In: 6.2.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-26 10:51 UTC by Guido
Modified: 2024-08-31 03:47 UTC (History)
1 user (show)

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


Attachments

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