Bug 432836 - Multiple items that are part of the same package falsely suggest to the user that they can be independently removed, but they can't
Summary: Multiple items that are part of the same package falsely suggest to the user ...
Status: CONFIRMED
Alias: None
Product: Discover
Classification: Applications
Component: PackageKit (show other bugs)
Version: 5.18.5
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Dan Leinir Turthra Jensen
URL:
Keywords: usability
Depends on:
Blocks:
 
Reported: 2021-02-12 09:14 UTC by Dan Dascalescu
Modified: 2024-07-09 19:06 UTC (History)
2 users (show)

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


Attachments
Screenshot (178.62 KB, image/png)
2021-02-12 09:14 UTC, Dan Dascalescu
Details
Why does Disocver want to remove sibling packages? (90.26 KB, image/png)
2021-02-12 10:15 UTC, Dan Dascalescu
Details
Plasma addon packages have confused other users, see the comment "Why is this installed by default" re. Comic Strip. (252.78 KB, image/png)
2021-02-14 09:20 UTC, Dan Dascalescu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dan Dascalescu 2021-02-12 09:14:39 UTC
Created attachment 135616 [details]
Screenshot

SUMMARY
I don't consume need most of the formats that Okular supports, so I wanted to remove them, but keep Okular itself and PDF.

However, when I tried to remove "Comic book" (for example) from Discover, it made me confirm that it would remove Okular completely, along with all other formats.
Comment 1 Dan Dascalescu 2021-02-12 10:15:14 UTC
Created attachment 135620 [details]
Why does Disocver want to remove sibling packages?
Comment 2 Nate Graham 2021-02-12 16:55:46 UTC
Discover is exposing a technical detail here: the fact that these different items are all part of the same underlying package. For example Okular includes the plugins, and Hunyango, Haenau, and the other items are all part of the same `kdeplasma-addons` package.

We're confusing you because we allow a multi-item package to display multiple items in the UI, which tricks you into thinking that they can be independently installed and removed, when in fact, they can't be.

It's kind of a tricky problem to solve though. In the case of the Okular plugins, they are all correctly marked as add-ons, so perhaps Discover could collapse them into the parent okular package. In the case of the kdeplasma-addons packages, maybe we need a more generic method to collapse items provided by a single package. Or maybe we need to fix a bug with those things not getitng marked as add-ons as they should 

Needs further investigation.
Comment 3 Dan Dascalescu 2021-02-14 09:20:26 UTC
Created attachment 135677 [details]
Plasma addon packages have confused other users, see the comment "Why is this installed by default" re. Comic Strip.
Comment 4 Nate Graham 2021-02-15 05:00:59 UTC
Heh, wow.