Bug 375857 - Whitelist Powerdevil runner so that power/session actions can be found using a search
Summary: Whitelist Powerdevil runner so that power/session actions can be found using ...
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Application Menu (Kicker) (show other bugs)
Version: 5.8.5
Platform: Fedora RPMs Linux
: NOR wishlist
Target Milestone: 1.0
Assignee: Eike Hein
URL:
Keywords:
: 465753 468695 (view as bug list)
Depends on:
Blocks:
 
Reported: 2017-02-01 17:41 UTC by Mike
Modified: 2024-03-08 16:14 UTC (History)
8 users (show)

See Also:
Latest Commit:
Version Fixed In: 6.1


Attachments

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