| Summary: | Disabled runners cannot be used in 'single runner mode' (invoked via dbus) | ||
|---|---|---|---|
| Product: | [Plasma] krunner | Reporter: | Kishore Gopalakrishnan <kishore96> |
| Component: | general | Assignee: | Alexander Lohnau <alexander.lohnau> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | nate, plasma-bugs-null |
| Priority: | NOR | ||
| Version First Reported In: | 5.21.3 | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Other | ||
| Latest Commit: | https://invent.kde.org/frameworks/krunner/commit/12d34b9cd567f8c972b9e6fe4503364a75e5d6c3 | Version Fixed/Implemented In: | 5.82 |
| Sentry Crash Report: | |||
|
Description
Kishore Gopalakrishnan
2021-03-28 07:38:27 UTC
Huh that actually surprises me as a usecase. Especially because the single runner stuff was broken for quite some time. I will look into writing a fix for that.
In the meantime you could run:
>kwriteconfig5 --file ~/.local/share/kservices5/plasma-runner-krunner_appmenu.desktop --group "Desktop Entry" --key "X-Plasma-Runner-Match-Regex" '^$'; kquitapp5 krunner
As a workaround, this will only produce matches when the runner is in the single runner mode. But you still need to have it enabled.
(In reply to Alexander Lohnau from comment #1) > In the meantime you could run: > >kwriteconfig5 --file ~/.local/share/kservices5/plasma-runner-krunner_appmenu.desktop --group "Desktop Entry" --key "X-Plasma-Runner-Match-Regex" '^$'; kquitapp5 krunner > > As a workaround, this will only produce matches when the runner is in the > single runner mode. But you still need to have it enabled. This works. Thanks! I will submit a MR to add it to the readme of the github repo you have sent. And also a tiny bit of tweaking for the config file there ;) I already have a local patch for this available, but will need to think if this can be solved a bit cleaner. Generally speaking the single runner mode stuff in the framework needs a bit cleaning up^^ See https://invent.kde.org/frameworks/krunner/-/merge_requests/62. I have also done refactoring + cleanup + autotests, that is why there are a lot of commits :) Git commit 12d34b9cd567f8c972b9e6fe4503364a75e5d6c3 by Alexander Lohnau. Committed on 23/04/2021 at 06:19. Pushed by alex into branch 'master'. runnermanager: Allow loading runners in single runner mode if they are disabled FIXED-IN: 5.82 M +22 -7 src/runnermanager.cpp https://invent.kde.org/frameworks/krunner/commit/12d34b9cd567f8c972b9e6fe4503364a75e5d6c3 |