Bug 375857

Summary: Whitelist Powerdevil runner so that power/session actions can be found using a search
Product: [Plasma] plasmashell Reporter: Mike <alt.h2-6oe64o0w>
Component: Application Menu (Kicker)Assignee: Eike Hein <hein>
Status: RESOLVED FIXED    
Severity: wishlist CC: bugseforuns, jeffbai, katyaberezyaka, kde, nate, notuxius, oconnordaniel, plasma-bugs
Priority: NOR    
Version: 5.8.5   
Target Milestone: 1.0   
Platform: Fedora RPMs   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=389146
Latest Commit: Version Fixed In: 6.1

Description Mike 2017-02-01 17:41:23 UTC
Hi,

Search field in Application Menu is quite useful.
Problem is that all options from 'Power / Session' submenu aren't included in search index.

I'm unable to hit Alt+F1 and type "shu" to get fast access to shutdown option.

Regards,
Mike
Comment 1 Kai Uwe Broulik 2017-02-01 17:59:03 UTC
There's a PowerDevil krunner plugin which I think has those actions. Might be worth a try to whitelist it for the application launcher menus.
Comment 2 Alexander Mentyu 2017-08-28 12:46:57 UTC
Can confirm in:

Distribution: KDE neon Developer Edition Unstable Branches
KDE Plasma Version: 5.10.90
KDE Frameworks Version: 5.37.0
Qt Version: 5.9.1
Kernel Version: 4.10.0-32-generic

KRunner is displaying session actions only after entering corresponing action name fully - shutdown - not shut or shutdo.
Comment 3 Nate Graham 2024-03-06 16:13:43 UTC
That's just because the binary name is matching; these aren't actually the power/session actions.
Comment 4 Nate Graham 2024-03-06 16:13:46 UTC
*** Bug 468695 has been marked as a duplicate of this bug. ***
Comment 5 Nate Graham 2024-03-06 16:13:54 UTC
*** Bug 465753 has been marked as a duplicate of this bug. ***
Comment 6 Nate Graham 2024-03-06 22:15:29 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/2090
Comment 7 Nate Graham 2024-03-08 16:14:43 UTC
Git commit 9244d38295e2d02437aeba819d830770294e1378 by Nate Graham.
Committed on 08/03/2024 at 16:06.
Pushed by ngraham into branch 'master'.

applets/kicker: add power, session, calc and unit converter runners

There is a limitation on the number of runners we can add here since
every runner adds a column, making the popup wider and wider. However
these runners return results that are infrequently matched by accident,
limiting the frequency with which they will appear and clutter up the
UI.

As such, I think adding them does not result in a worse UI and we can
safely do it even before we fix it to not grow wider with every new
runner's search results.
Related: bug 480692
FIXED-IN: 6.1

M  +6    -5    applets/kicker/package/contents/ui/main.qml

https://invent.kde.org/plasma/plasma-desktop/-/commit/9244d38295e2d02437aeba819d830770294e1378