Bug 462343

Summary: Don't show runtimes in the UI
Product: [Applications] Discover Reporter: Samuel Reddy <samuelsumukhreddy>
Component: Flatpak BackendAssignee: Plasma Bugs List <plasma-bugs>
Status: CONFIRMED ---    
Severity: wishlist CC: aleixpol, jgrulich, nate, travier
Priority: NOR    
Version: 5.25.5   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Samuel Reddy 2022-11-28 08:01:07 UTC
SUMMARY
Discover should only show distro packages that have appstream data instead of any distro packages. When you click installed or search for a program in Discover, it shows distro packages that don't have appstream data. 

Showing distro packages that don't have appstream data can be problematic, as it can lead to a new user removing a package that breaks their system by accident.


STEPS TO REPRODUCE
1. Open Discover
2. Search for a distro package that doesn't have appstream data or click installed
3. Discover shows apps that don't have appstream data

OBSERVED RESULT
Discover shows all distro packages including system programs

EXPECTED RESULT
Discover should only show distro packages with appstream data

SOFTWARE/OS VERSIONS
Kubuntu 22.10
KDE Plasma Version: 5.25.5 (but also tested on the latest kde plasma from Kubuntu backports ppa)
KDE Frameworks Version: 5.98 (but also tested on the latest kde frameworks from Kubuntu backports ppa)
Qt Version: 5.15.6

ADDITIONAL INFORMATION
none
Comment 1 Bug Janitor Service 2022-11-28 08:33:28 UTC
Thank you for the bug report!

Please note that Plasma 5.25.5 is not supported for much longer by KDE; supported versions are 5.24, and 5.26 or newer.

If at all possible please upgrade to a supported version and verify that the bug is still happening there.

If you're unsure how to do this, contact your distributor about it.
Comment 2 Aleix Pol 2022-11-28 13:23:34 UTC
can you be more specific about which packages you think they don't fit?
Comment 3 Samuel Reddy 2022-11-28 20:30:23 UTC
(In reply to Aleix Pol from comment #2)
> can you be more specific about which packages you think they don't fit?

An example is Gstreamer Multimedia Codecs for native packages

I think that "system" programs like KDE Plasma Desktop packages, flatpak runtimes and snap runtimes should be sorted into a system category like GNOME Software, which would be a good compromise between user friendliness and being powerful when needed
Comment 4 Samuel Reddy 2022-11-28 20:43:04 UTC
Also steam-devices
Comment 5 Nate Graham 2022-11-29 18:32:57 UTC
All of those things do in fact have AppStream metadata. You can verify this by searching using `appstreamcli search [search term]` If you feel this is in error, it would be up the the distro or the developer to fix.

We could maybe filter out the runtimes even if they do have AppStream metadata though.
Comment 6 Samuel Reddy 2022-12-01 07:37:55 UTC
Discover has a way of sorting programs by apps, system or addons in the updates category. Would it be possible to do the same with the installed category?
Comment 7 Nate Graham 2022-12-01 20:31:27 UTC
Indeed, see Bug 423344.