Bug 407423 - Add a Show/Hide feature to the notification "Packages to remove"
Summary: Add a Show/Hide feature to the notification "Packages to remove"
Status: RESOLVED FIXED
Alias: None
Product: Discover
Classification: Applications
Component: Updates (interactive) (show other bugs)
Version: 5.15.4
Platform: Kubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Dan Leinir Turthra Jensen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-05-11 10:29 UTC by Øystein Steffensen-Alværvik
Modified: 2020-10-01 18:05 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.20


Attachments
Redundant list of packages (171.54 KB, image/png)
2019-05-11 10:29 UTC, Øystein Steffensen-Alværvik
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Øystein Steffensen-Alværvik 2019-05-11 10:29:55 UTC
Created attachment 119980 [details]
Redundant list of packages

SUMMARY
When updating a large number of packages, such as upgrading the Plasma version, hide the list of "This is to install" when that list exceeds 20 packages, but provide a feature to "Show all packages". Look at the screenshot. The list of packages to remove is necessary information, but the user was already provided with the packages to install in the Update list, so that's just redundant information for casual users.

Operating System: Kubuntu 19.04
KDE Plasma Version: 5.15.4
KDE Frameworks Version: 5.56.0
Qt Version: 5.12.2
Kernel Version: 5.0.0-13-generic
OS Type: 64-bit
Processors: 4 × Intel® Core™ i5-4210U CPU @ 1.70GHz
Memory: 11,6 GiB
Comment 1 Nate Graham 2019-05-28 21:41:54 UTC
A few releases ago, the pop-up only did show packages to remove, which resulted in extremely scary situations like this:

The following packages will be removed:
* Plasma-desktop


By displaying the added packages, we made it instead say:

The following packages will be removed:
* Plasma-desktop

The following packages will be added:
* Plasma-desktop-whatever


...Which made it easy to see that nothing was actually being removed, it's just that a package was basing renamed or something. However I can see how this causes a UX regression when the a replacement or removal transaction also includes a lot of added packages. Sort of a tricky problem. Like you suggest, maybe we could make it say:


The following packages will be added:
* package1
* package2
* package3
* package3
* package5

[Show full list]
Comment 2 Nate Graham 2020-10-01 18:05:58 UTC
The buttons at the bottom are now always visible no matter how long the list is, so I believe the original problem that was causing the desire for this has now been fixed.