Summary: | Add "howto" use intructions in Krunner plugin descriptions | ||
---|---|---|---|
Product: | [Plasma] krunner | Reporter: | Dan Dascalescu <ddascalescu+kde> |
Component: | general | Assignee: | Alexander Lohnau <alexander.lohnau> |
Status: | RESOLVED FIXED | ||
Severity: | task | CC: | nate, plasma-bugs, spm5243 |
Priority: | NOR | ||
Version: | 5.21.1 | ||
Target Milestone: | --- | ||
Platform: | Neon | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/plasma-workspace/commit/c8c72bf66a403b408fa9d6559ed5887e358bd490 | Version Fixed In: | 5.24 |
Sentry Crash Report: |
Description
Dan Dascalescu
2021-02-26 07:25:34 UTC
Exactly! Lack of documentation is a huge problem. Going to https://userbase.kde.org is a waste of time also - the info here a ten years outdated! As an example: The page https://userbase.kde.org/Plasma/Krunner refer plugin "Be on time" but there is no such plugin neither commands "date"/"time" A possibly relevant merge request was started @ https://invent.kde.org/frameworks/krunner/-/merge_requests/77 A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/1102 Git commit 14829aefb9de56bda2003a713441828105cc805a by Alexander Lohnau. Committed on 18/12/2021 at 10:50. Pushed by alex into branch 'master'. RunerContext: Allow runners to update the query string Before this was only possible when the match type is set to InformationalMatch. This did not include the cursorPosition feature and the text needed to be specified before the match is added. To make sure the method can be called in AbstractRunner::run it is marked as const. The usecase is a help functionality where the placeholder for the query should get focused so that the user can overwrite it by typing: https://phabricator.kde.org/F10042697 M +18 -0 src/runnercontext.cpp M +15 -0 src/runnercontext.h M +6 -1 src/runnermanager.cpp https://invent.kde.org/frameworks/krunner/commit/14829aefb9de56bda2003a713441828105cc805a Git commit c8c72bf66a403b408fa9d6559ed5887e358bd490 by Alexander Lohnau. Committed on 25/12/2021 at 16:53. Pushed by alex into branch 'master'. Add helprunner to show usage information for KRunner plugins Related: bug 369136 M +2 -1 lookandfeel/contents/runcommand/RunCommand.qml M +1 -0 runners/CMakeLists.txt A +2 -0 runners/helprunner/CMakeLists.txt A +81 -0 runners/helprunner/helprunner.cpp [License: LGPL(v2.1+)] A +27 -0 runners/helprunner/helprunner.h [License: LGPL(v2.1+)] A +17 -0 runners/helprunner/helprunner.json https://invent.kde.org/plasma/plasma-workspace/commit/c8c72bf66a403b408fa9d6559ed5887e358bd490 |