Bug 431723 - When I search for an app available in different sources, the package from distro repos has no icon in the results
Summary: When I search for an app available in different sources, the package from dis...
Status: RESOLVED WORKSFORME
Alias: None
Product: Discover
Classification: Applications
Component: discover (show other bugs)
Version: unspecified
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Dan Leinir Turthra Jensen
URL:
Keywords: usability
Depends on:
Blocks:
 
Reported: 2021-01-17 10:47 UTC by Patrick Silva
Modified: 2021-04-09 16:57 UTC (History)
4 users (show)

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


Attachments
screen recording (3.22 MB, video/webm)
2021-01-17 10:47 UTC, Patrick Silva
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Silva 2021-01-17 10:47:09 UTC
Created attachment 134958 [details]
screen recording

STEPS TO REPRODUCE
1. search for an app only available in the distro repos (akregator feed reader on neon, for example): akregator is listed with its own icon in the search results
2. search for an app available in different sources (handbrake on neon, for example): both flatpak and snap packages have the app icon in the search results,
but the package from distro repos is listed with a generic icon
3. 

OBSERVED RESULT
explained above, watch the attached screen recording please.

EXPECTED RESULT
all apps should be listed in the search results with their own icons

SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.20.80
KDE Frameworks Version: 5.79.0
Qt Version: 5.15.2
Comment 1 Harald Sitter 2021-01-20 16:11:45 UTC
Installing random ubuntu software on neon isn't supported which is why they lack appstream information so as to keep them less visible than the versions from actual app store sources (snap/flathub/...).
The particular difference here being that akregator is KDE software hence supported by neon, handbrake is not and only available because of the ubuntu base repo.
Comment 2 Nate Graham 2021-04-07 18:48:11 UTC
This is currently intentional. We don't show the icon and name for apps that will be installed from your default backend; only those that will be installed from alternative non-default ones.

Are you saying that you want the backend always shown for all items, in the case where more than one source is available? So that, for example:

- All Flatpak apps would always show the Flatpak icon and say "Install from Flatpak" 
- All Snap apps would always show the Snap icon and say "Install from Snap"
- All distro-packaged apps would show the distro logo (if possible) and say "Install from <distro name> (which could potentially be very long...)"

Is that correct?
Comment 3 Patrick Silva 2021-04-09 12:54:37 UTC
(In reply to Nate Graham from comment #2)
> This is currently intentional. We don't show the icon and name for apps that
> will be installed from your default backend; only those that will be
> installed from alternative non-default ones.
> 
> Are you saying that you want the backend always shown for all items, in the
> case where more than one source is available? So that, for example:
> 
> - All Flatpak apps would always show the Flatpak icon and say "Install from
> Flatpak" 
> - All Snap apps would always show the Snap icon and say "Install from Snap"
> - All distro-packaged apps would show the distro logo (if possible) and say
> "Install from <distro name> (which could potentially be very long...)"
> 
> Is that correct?

No. This report is about apps icons in the search results, not backends icons/names.
Comment 4 Nate Graham 2021-04-09 15:06:14 UTC
Oh I see. And you can still reproduce this? It always works for me on openSUSE Tumbleweed, FWIW.
Comment 5 Patrick Silva 2021-04-09 15:59:53 UTC
(In reply to Nate Graham from comment #4)
> Oh I see. And you can still reproduce this? It always works for me on
> openSUSE Tumbleweed, FWIW.

I can't test because for some reason Discover does not find/list apps
from Ubuntu repos (Firefox, for example). Only flatpaks, snaps, addons from KDE Store and apps from neon repos are available.
Comment 6 Nate Graham 2021-04-09 16:47:38 UTC
Yes, that was a recent deliberate change in Neon. Non-KDE software from the base Ubuntu repos has never been supported, and the Neon team removed AppStream data for them so that you can't find them in Discover anymore. The only supported method of getting non-KDE apps is using Flatpak or Snap.
Comment 7 Patrick Silva 2021-04-09 16:57:30 UTC
Then I'm closing this bug because it is not reproducible on Arch.

Operating System: Arch Linux
KDE Plasma Version: 5.21.4
KDE Frameworks Version: 5.80.0
Qt Version: 5.15.2
Graphics Platform: X11