Bug 498197 - Allow disabling the GNS backend without uninstalling its package
Summary: Allow disabling the GNS backend without uninstalling its package
Status: CONFIRMED
Alias: None
Product: Discover
Classification: Applications
Component: KNewStuff Backend (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-01-03 09:34 UTC by Justin Zobel
Modified: 2025-01-07 17:52 UTC (History)
3 users (show)

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


Attachments
attachment-3257188-0.html (1.04 KB, text/html)
2025-01-04 04:30 UTC, Justin Zobel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Justin Zobel 2025-01-03 09:34:51 UTC
Other backends can be disabled in the Settings. KNHS cannot.
Comment 1 Nate Graham 2025-01-03 17:49:40 UTC
What's the use case?
Comment 2 Justin Zobel 2025-01-04 04:30:14 UTC
Created attachment 177089 [details]
attachment-3257188-0.html

On January 4, 2025 4:19:40 AM GMT+10:30, Nate Graham <bugzilla_noreply@kde.org> wrote:
>https://bugs.kde.org/show_bug.cgi?id=498197
>
>Nate Graham <nate@kde.org> changed:
>
>           What    |Removed                     |Added
>----------------------------------------------------------------------------
>            Summary|Make KNHS a backend that    |Allow disabling the GNS
>                   |can be disabled.            |backend without
>                   |                            |uninstalling its package
>                 CC|                            |nate@kde.org
>
>--- Comment #1 from Nate Graham <nate@kde.org> ---
>What's the use case?
>
>-- 
>You are receiving this mail because:
>You reported the bug.
Similar functionality to other backends and faster load times.
Comment 3 Nate Graham 2025-01-06 22:07:06 UTC
> Similar functionality to other backends and faster load times.
The functionality is definitely not similar; the KNS backend provides content not available in any other backends.

Faster load times I'm not sure about. Have you benchmarked this? Try running `plasma-discover --backends packagekit,flatpak,fwupd` and compare it to `plasma-discover --backends packagekit,flatpak,fwupd,kns` For me they feel identical in speed.
Comment 4 Justin Zobel 2025-01-07 02:50:42 UTC
It's a backend and I think it should be able to be disabled like others.

It would also be good to be able to disable it for corporate and business environments.

I haven't benchmarked it but it makes it "feel" slower.
Comment 5 Nate Graham 2025-01-07 17:52:33 UTC
The institutional use case makes sense, yeah.