Bug 480203 - Discover search results not much of use and unlogic
Summary: Discover search results not much of use and unlogic
Status: RESOLVED FIXED
Alias: None
Product: Discover
Classification: Applications
Component: discover (show other bugs)
Version: 5.27.10
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-23 06:14 UTC by PK
Modified: 2024-02-15 19:17 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description PK 2024-01-23 06:14:02 UTC
SUMMARY
***
When I e.g. put "firefox" in the search field of Discover and hit Enter, it finds 191 applications. In my opinion of which 189 really not relevant at all.
I would expect to see listed:
- Firefox (of the distro - Neon User) not listed
- Firefox snap - listed in Discover 5.27.10 but not in Neon Unstable
- Firefox flatpak - listed
- Firefox ESR - not listed at all.
I also tried with random other programs and the results where also almost all the time not as expected.
***


STEPS TO REPRODUCE
1. put "firefox" in the search field of Discover
2. hit Enter 

OBSERVED RESULT
Discover produces a rather long and bizarre line of results

EXPECTED RESULT
Discover shows relevant results of the query
Comment 1 PK 2024-01-23 07:37:02 UTC
Oh, I forgot to mention: I just use the default repositories of the (Neon) distribution(s). I did not change anything in de sources.list or so.
Comment 2 Amir Khan 2024-01-23 16:12:03 UTC
On KDENeonDeveloper, as of full updates on 23 Jan 2024, I observe the following:

1. Open Discover
2. Enter "firefox" in search box

Result:

Eight items are returned from the search, in this order:
1. Firefox browser (Flatpak)

and seven others, Bleachbit, uGet, GSConnect, MozillaVPN, Firefox and Thunderbird Archive, KDocker, Datcord.

It appears some progress has been made in improving search on Discover.

My system:

KDENeonDeveloper, fully updated as of 23 Jan 2024, afternoon GMT zone,
running in a VM under Gnome Boxes on Ubuntu 22.04, with guest running in X11 session.

Discover version 6.0.80
KDE Frameworks 5.240.0
Qt 6.6.1 (built agains 6.6.1)
Comment 3 PK 2024-01-23 17:35:16 UTC
(In reply to Amir Khan from comment #2)
> On KDENeonDeveloper, as of full updates on 23 Jan 2024, I observe the
> following:
> 
> 1. Open Discover
> 2. Enter "firefox" in search box
> 
> Result:
> 
> Eight items are returned from the search, in this order:
> 1. Firefox browser (Flatpak)
> 
> and seven others, Bleachbit, uGet, GSConnect, MozillaVPN, Firefox and
> Thunderbird Archive, KDocker, Datcord.
> 
> It appears some progress has been made in improving search on Discover.
> 
> My system:
> 
> KDENeonDeveloper, fully updated as of 23 Jan 2024, afternoon GMT zone,
> running in a VM under Gnome Boxes on Ubuntu 22.04, with guest running in X11
> session.
> 
> Discover version 6.0.80
> KDE Frameworks 5.240.0
> Qt 6.6.1 (built agains 6.6.1)

On my Neon Unstable box I get exactly the same list as you do. But still the only relevant search result is Firefox flatpak. But because it's based on Ubuntu imho there should be a snap package in the list and it's really strange that the Neon-deb is not in the list. 
The other search results are not at all helpful and not relevant.
Comment 4 Nate Graham 2024-02-15 19:14:41 UTC
Yes, there have been some improvements for Plasma 6.

Unfortunately what you're asking for is not really possible; the system can't read your mind and know that you'd like it to hide all the search results that match the keyword "firefox" somehow but aren't the Firefox app. As such, this is about as fixed as we can do for now.

The .deb package doesn't appear in the list because Neon deliberately hides apps that come from distro repos. This is a Neon packaging decision, not something that comes from Discover.
Comment 5 PK 2024-02-15 19:17:38 UTC
Thank you for your answer...