Bug 446392 - unrelated search results
Summary: unrelated search results
Status: RESOLVED DUPLICATE of bug 446167
Alias: None
Product: Discover
Classification: Applications
Component: PackageKit (other bugs)
Version First Reported In: 5.23.3
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Dan Leinir Turthra Jensen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-12-02 21:00 UTC by giuseppe
Modified: 2021-12-03 23:55 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description giuseppe 2021-12-02 21:00:41 UTC
SUMMARY
Often, when searching with Discover you won't get related search results. In example if you search obs you will have a very long list of unrelated packages (no obs studio isn't there), and after all the packages in the repo it will list "obs studio" flatpak.
The issue is that the obs studio is found with a simple "dnf search" via terminal (if you have rpm repositories enabled).


STEPS TO REPRODUCE
1. On Fedora, enable the rpm repositories and also the flathub repo
2. Open discover and search "obs"
3. In alternative to point 2. is possible to type in a terminal "plasma-discover --backends flatpak-backend,packagekit-backend --search obs"

OBSERVED RESULT
In both cases you won't see obs studio among the first results. And only near the end of the long list you have one obs studio but is flatpak.  

EXPECTED RESULT
obs studio as first result, and the ability to change the source from flatpak to repo

SOFTWARE/OS VERSIONS
Fedora 35
KDE Plasma Version: 5.23.3
KDE Frameworks Version: 5.88.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
If you search "obs studio" with discover or "obs\ studio" with the terminal command written above, the results are more pertinent but still only the flatpak is shown. 
Bonus: if you search obs studio in the terminal with "appstreamcli search obs studio" it won't list obs studio as result but blender 
NOTE 
For convenience this was reported with obs studio, but I would expect this behaviour to affect other packages as well
Comment 1 Nate Graham 2021-12-02 21:58:24 UTC
This specific issue is the same as Bug 446167 which is solved with a new AppStream version that is supposed to be released today or tomorrow.

*** This bug has been marked as a duplicate of bug 446167 ***
Comment 2 Aleix Pol 2021-12-03 23:55:23 UTC
By the way, despite getting marked as duplicated, seeing your message prompted me to investigate it and eventually reach out to their maintainer.

So while it might seem bothersome, reporting got the issue fixed. ;)