Bug 498197

Summary: Allow disabling the GNS backend without uninstalling its package
Product: [Applications] Discover Reporter: Justin Zobel <justin>
Component: KNewStuff BackendAssignee: Plasma Bugs List <plasma-bugs-null>
Status: CONFIRMED ---    
Severity: wishlist CC: aleixpol, leinir, nate, noctaliavibing, sitter
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: attachment-3257188-0.html

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.
Comment 6 Harald Sitter 2025-04-06 17:51:37 UTC
> Other backends can be disabled in the Settings. KNHS cannot.

We don't have that feature. What you can do is disable a "remote" which isn't quite the same as disabling a backend.
Comment 7 Harald Sitter 2025-04-06 17:51:43 UTC
*** Bug 501369 has been marked as a duplicate of this bug. ***