Bug 423821 - Discover always shows snaps last
Summary: Discover always shows snaps last
Status: CONFIRMED
Alias: None
Product: Discover
Classification: Applications
Component: discover (other bugs)
Version First Reported In: 5.18.5
Platform: Other Other
: NOR normal
Target Milestone: ---
Assignee: Dan Leinir Turthra Jensen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-03 03:29 UTC by Dylan McDougall
Modified: 2020-07-30 22:48 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 Dylan McDougall 2020-07-03 03:29:35 UTC
SUMMARY
When searching in Applications, snap packages will always show up last even if the exact name of the snap was searched.

STEPS TO REPRODUCE
1. Search in Applications for the name of a snap such as 'oh my giraffe' or 'Notepad-Plus-Plus'

OBSERVED RESULT
The relevant snap application shows up at the very bottom of the returned results below several unrelated packages

EXPECTED RESULT
The relevant snap application shows up at or near the top of the list

SOFTWARE/OS VERSIONS
OS: KDE Neon 5.19
KDE Plasma Version: 1.19.2 
KDE Frameworks Version: 5.71.0
Qt Version: 5.14.2
Comment 1 Nate Graham 2020-07-03 14:30:31 UTC
If you search using `appstreamcli search 'oh my giraffe'` on the command line, is the same behavior observed?
Comment 2 Dylan McDougall 2020-07-03 15:12:36 UTC
Snap applications do not show up when searching with appsteamcli
Comment 3 Nate Graham 2020-07-03 17:33:38 UTC
Oh right, yeah. That's probably the problem.
Comment 4 Aleix Pol 2020-07-30 22:48:39 UTC
The reason is that snap takes a bit longer to answer, which surely isn't a satisfactory answer. Will need to investigate how to improve the situation. Thanks for reporting!