Summary: | application:<desktop file> entries started showing up in KRunner | ||
---|---|---|---|
Product: | [Plasma] krunner | Reporter: | Alexander Lohnau <alexander.lohnau> |
Component: | general | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | alexander.lohnau |
Priority: | NOR | ||
Version: | master | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/plasma-workspace/commit/8fb57f7d6baa6f92d1af537ac1afde43f89d852c | Version Fixed In: | |
Sentry Crash Report: | |||
Attachments: | Screenshot describing the issue |
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/2310 Git commit 8fb57f7d6baa6f92d1af537ac1afde43f89d852c by Alexander Lohnau. Committed on 07/11/2022 at 06:48. Pushed by alex into branch 'master'. runners/recentdocuments: Only match files from kactivities and not other entries This would for example cause `application:<some file>.desktop` entires to show up. To avoid this, we have to ensure that our query starts with a /. After that we allow any folder name and then any string that contains the given term. Related: bug 461006 M +1 -1 runners/recentdocuments/recentdocuments.cpp https://invent.kde.org/plasma/plasma-workspace/commit/8fb57f7d6baa6f92d1af537ac1afde43f89d852c |
Created attachment 153536 [details] Screenshot describing the issue These entries should not show up in KRunner. Also, the ordering seems a bit messed up, because IMHO the recent file should not take presence over the command line/app results.