Bug 357985 - [rfe] improve application search results
Summary: [rfe] improve application search results
Status: RESOLVED DUPLICATE of bug 340283
Alias: None
Product: plasmashell
Classification: Plasma
Component: Application Menu (Kicker) (show other bugs)
Version: 5.5.3
Platform: Fedora RPMs Linux
: NOR wishlist
Target Milestone: 1.0
Assignee: Eike Hein
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-14 15:48 UTC by Christian Stadelmann
Modified: 2022-06-25 16:09 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Stadelmann 2016-01-14 15:48:39 UTC
Currently there seems to be no algorithm to smartly reorder search results. If you search for some string the first matching application will be displayed, not the best match.

Gnome-shell activities overview does these (I think):
1. order "trailing matches" before in-name matches
2. remember frequently used applications and give them a higher priority

Reproducible: Always

Steps to Reproduce:
1. Open application search
2. type something
3. look at results
4. select application to run (mouse or keyboard)

Actual Results:  
When searching for "tor", "Designeditor" is placed first, "Tor Browser" is placed on ~8th position.

This doesn't change even when I repeat those steps above.

Expected Results:  
When searching for "tor", "Tor Browser" is the best match and should be placed first.

When repeatedly searching and choosing one application, this application should be displayed first. With this I don't need to use mouse or arrow keys to select the application I want to start.
Comment 1 Kai Uwe Broulik 2016-01-14 16:44:46 UTC
I think KRunner does this but Kickoff/Kicker do not.
Comment 2 Eike Hein 2016-01-17 16:14:26 UTC
Vishesh, does KRunner have any API to use here?
Comment 3 Vishesh Handa 2016-01-17 17:24:22 UTC
(In reply to Eike Hein from comment #2)
> Vishesh, does KRunner have any API to use here?

Just the applications runner. It has some heuristics to try and give each result a different weight. But it clearly seems to be lacking.

KRunner does try to remember launches, but the code is ugly.
Comment 4 Alexander Mentyu 2017-08-28 11:07:06 UTC
Looks related to - https://bugs.kde.org/show_bug.cgi?id=383812
Comment 5 Nate Graham 2022-06-25 16:09:18 UTC

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