Bug 473886 - Irrelevant search results in KRunner when searching for Gnome apps
Summary: Irrelevant search results in KRunner when searching for Gnome apps
Status: RESOLVED DUPLICATE of bug 467924
Alias: None
Product: krunner
Classification: Plasma
Component: general (show other bugs)
Version: 5.27.7
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Alexander Lohnau
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-29 09:55 UTC by Vladimir Yerilov
Modified: 2023-08-29 19:30 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Incomplete search result (90.94 KB, image/png)
2023-08-29 09:55 UTC, Vladimir Yerilov
Details
Proper search result (90.24 KB, image/png)
2023-08-29 09:57 UTC, Vladimir Yerilov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Yerilov 2023-08-29 09:55:36 UTC
Created attachment 161257 [details]
Incomplete search result

SUMMARY
Since around 5.27 KRunner and Kickoff do not provide relevant results when searching some Gnome's application by its binary name, like 'disks' -- meaning 'gnome-disks', or 'virt' -- meaning 'virt-manager', until you enter a full name of app's executable, e.g. 'gnome-disks', but even then search results won't show a proper icon of the application, just a gear next to the text like 'Run %executable_name%'.


STEPS TO REPRODUCE
1. Switch language to something other than English (and probably even non-West-European)
2. Open Kickoff, start typing some Gnome app's exec name you might have installed
3. See 0 hits or completely not what you have expected

OBSERVED RESULT
Irrelevant search results

EXPECTED RESULT
Entries of apps with that typed string present in the filename of their binaries

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
Manjaro Linux latest possible (Unstable)
KDE Plasma Version: 5.57.7
KDE Frameworks Version: 5.109.0
Qt Version: 5.15.10

ADDITIONAL INFORMATION
This happens to systems where English is NOT the default language. When searching using person's native language (e.g. 'диски' meaning 'gnome-disks'), one sees expected search result with right app on top of the list.
Comment 1 Vladimir Yerilov 2023-08-29 09:57:35 UTC
Created attachment 161258 [details]
Proper search result

This result is correct but one need to use native keyboard layout in order to get to it.
Comment 2 Alexander Lohnau 2023-08-29 19:20:58 UTC
>Since around 5.27 KRunner and Kickoff do not provide relevant results when searching some Gnome's application by its binary name

We removed reading the exec, because it provided too many false positives.
Comment 3 Nate Graham 2023-08-29 19:30:51 UTC
Indeed, but I think Bug 467924 would help your use case though; marking as a duplicate of that.

*** This bug has been marked as a duplicate of bug 467924 ***