Bug 420971 - Provide nicer alternative to "No Application back-ends found..." welcome page
Summary: Provide nicer alternative to "No Application back-ends found..." welcome page
Status: RESOLVED INTENTIONAL
Alias: None
Product: Discover
Classification: Applications
Component: discover (show other bugs)
Version: 5.18.4
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Dan Leinir Turthra Jensen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-03 23:08 UTC by Andreas Sturmlechner
Modified: 2023-04-11 11:13 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Sturmlechner 2020-05-03 23:08:15 UTC
Discover is very configurable wrt the backends it can have. However, it does not provide for the case where none of the type 'application backend' is available, not through missing dependencies, but choice at build time. Discover then still has its use for Application Addons, Plasma Addons, and as fwupd frontend, but the displayed 'welcome' page in serious-warning style is not helpful to the distribution that may never get an interface to its package management, or the user who consciously built Discover like that.

It should be possible to flip a switch e.g. WITHOUT_APPLICATION_BACKEND at build time that makes it clear that lack thereof does not represent a packaging oversight or missing dependency.
Comment 1 Aleix Pol 2020-05-25 16:26:53 UTC
I'm not sure, this is not what Discover is for.

Discover is to make the resources to enhance the OS available to the user. Using discover without it is more an artefact of how it's implemented more than an actual feature.
Comment 2 Nate Graham 2020-05-25 22:15:14 UTC
You're talking about Gentoo, right? If so, I know there's no PackageKit backend, but the user could feasibly install the Snap or Flatpak backend, right? And the distro could package Discover with one of them.
Comment 3 Aleix Pol 2021-03-05 13:09:20 UTC
In case of Gentoo building the flatpak backend should fix this.
Comment 4 Andreas Sturmlechner 2021-03-07 12:37:51 UTC
That's a workaround for an artificial problem, isn't it? And it assumes I want every user on my system to be able to install flatpak images (or any packages, for that matter).
Comment 5 Nate Graham 2021-03-07 13:31:52 UTC
What's the use case for intentionally using Discover with no app backends? GUI add-on and firmware updates?
Comment 6 Nate Graham 2021-04-07 17:21:09 UTC
What I'm getting at is that the kind of user who prefers to use the command line for package management is the kind of user who should use the command-line to manage their firmware updates too.

I don't know if there's a CLI tool for managing KNS content, but if there is, said user should just use that.

The kind of user who wants a nice GUI experience for updating and installing content for everything *except* for software is a very rare user. I get that perhaps you are one such user. But it is such a rare use case that if you want this done, you'll probably have to submit the code yourself. :)

Personally I would be willing to consider such a merge request, but absent that, I don't know if it's worth keeping this bug report open, sorry. :)
Comment 7 Dan Leinir Turthra Jensen 2021-04-07 17:23:39 UTC
On the topic of knewstuff-tool (which is the sort of... semi-planned name for it), there isn't yet, but, as that paranthesis suggests, building one is kind of planned :)