Bug 477638

Summary: Allow closing Krunner with another Meta press
Product: [Plasma] krunner Reporter: Henning <boredsquirrel>
Component: generalAssignee: Plasma Bugs List <plasma-bugs-null>
Status: CONFIRMED ---    
Severity: wishlist CC: alexander.lohnau, natalie_clarius
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Henning 2023-11-27 21:15:25 UTC
The standard appliacation menu can be opened and closed with meta.

Krunner can only be opened, closing with Esc. It would be great to have it close with Meta too.

Is this on purpose?
Comment 1 Natalie Clarius 2023-11-28 00:48:24 UTC
KRunner does have functionality to toggle.

How do you have your shortcut set up?
Comment 2 Bug Janitor Service 2023-12-13 03:45:57 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Henning 2023-12-14 23:39:54 UTC
I have added a manual desktop entry for krunner as there was none. And that one is assigned to Meta using some strange command from Nick (the linux experiment) as it is not possible to use the meta key (!) in the GUI.

So there is no option to set the toggle somewhere.

So for context, there was no "krunner" under "keyboard shortcuts" at all.
Comment 4 Natalie Clarius 2023-12-15 00:13:35 UTC
> there was no "krunner" under "keyboard shortcuts" at all.

You should be able to set it using the "Add Application" button.
Comment 5 Henning 2023-12-15 00:23:07 UTC
There is no desktop entry for krunner?
I guess this is an upstream Fedora issue?
Comment 6 Henning 2023-12-15 00:23:27 UTC
there is none in /usr/share/applications so I created my own which just launches
Comment 7 Natalie Clarius 2023-12-15 00:43:29 UTC
Right, I have no such desktop file either, but there is a KRunner entry in my global shortcuts.

Anyway, as a workaround if you have no such entry and built your own desktop, you can use 

>  qdbus org.kde.krunner /App org.kde.krunner.App.toggleDisplay

as the command to execute.

I'd still consider it a bug that there is no entry available in the shortcuts settings for you.
Comment 8 Henning 2023-12-15 20:15:23 UTC
I reassigned that command and it works the same, closing with Meta does not work

thanks for the help!