Bug 459489

Summary: Currency convertor results are at the very bottom of the Application Launcher's search results
Product: [Plasma] krunner Reporter: Slavi <slavi>
Component: converterAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: alexander.lohnau, nate
Priority: NOR    
Version: 5.25.5   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Application Launcher's search shows currency conversion at the very bottom, beneath a ton of useless results

Description Slavi 2022-09-21 13:06:43 UTC
Created attachment 152314 [details]
Application Launcher's search shows currency conversion at the very bottom, beneath a ton of useless results

STEPS TO REPRODUCE
1. Open the application launcher
2. Enter something like `1000 USD to EUR`

OBSERVED RESULT

I see a bunch of meaningless results (Display Configuration, Autostart, Device actions, ..).. and the actual conversion result way at the very bottom (seen only after scrolling).

EXPECTED RESULT

If other results are to be displayed as well, then at least they should rank lower.
Ideally no other results would be displayed besides the actual currency conversion.

SOFTWARE/OS VERSIONS
KDE Plasma Version:  5.25.5
KDE Frameworks Version: 5.98.0
Qt Version: 5.15.6
Comment 1 Nate Graham 2022-09-22 20:00:24 UTC

*** This bug has been marked as a duplicate of bug 431204 ***
Comment 2 Slavi 2022-09-23 05:47:47 UTC
While the "Order search results the same way as in KRunner" bug (#431204) makes sense, I believe there's more to it and it may deserve one more (new) issue opened about it.

One of the problems is that the Application Launcher does not order the results the same as KRunner. KRunner seems to put the currency conversion at the top, which is much better.

The other problem is that useless results come up, even in KRunner. Querying for `1000 USD to EUR` should not yield results for Display Configuration and other stuff like this. I believe it's the `to` part, which makes it yield lots of useless matches. Perhaps short words like `to` (and `the` and other stops words - https://en.wikipedia.org/wiki/Stop_word) should be completely ignored anyway?
Comment 3 Nate Graham 2022-09-23 17:03:40 UTC
That's another element for sure. Feel free to file an additional bug report for that issue specifically.
Comment 4 Slavi 2022-09-24 05:18:13 UTC
I've opened a separate bug report for that part: https://bugs.kde.org/show_bug.cgi?id=459586