Bug 366633 - Can't mark multiple items to be purged
Summary: Can't mark multiple items to be purged
Status: REPORTED
Alias: None
Product: muon
Classification: Applications
Component: muon (show other bugs)
Version: unspecified
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Jonathan Thomas
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-11 12:26 UTC by KDE Neon user
Modified: 2022-10-24 01:21 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
hide buttons when multiple packages are selected (1.58 KB, patch)
2016-08-25 21:27 UTC, Carlo Vanini
Details

Note You need to log in before you can comment on or make changes to this bug.
Description KDE Neon user 2016-08-11 12:26:07 UTC
Despite multiple selection, just a single item is marked to be purged.

Muon Version 5.6.0
KDE Neon 5.7 (user edition)

Reproducible: Always

Steps to Reproduce:
1. Filter packages by status -> residual configuration
2. Select everything
3. Click on "purge"

Actual Results:  
A single item is marked to be purged.

Expected Results:  
All selected items should be marked.
Comment 1 Carlo Vanini 2016-08-21 11:58:02 UTC
This is a tricky problem with the UI design. The list of packages allows multiple selection, but the details section shows only one package at a time. The buttons you refer to are inside the details section, and only affect the package shown. Otoh, the right-click menu in the package list affects all selected packages.
In a certain way, it makes sense the way it is. And I don't see a better way.

1. move the buttons to the toolbar
2. hide the list when showing package details
3. do not show details when multiple packages are selected
4. show something like "you have 7 selected packages" next to the buttons and affect them all
5. remove the buttons altogether (like synaptic)
Comment 2 Carlo Vanini 2016-08-25 21:27:16 UTC
Created attachment 100760 [details]
hide buttons when multiple packages are selected

By looking at the source code it was clear that the buttons were meant to be hidden when more than one package is selected. The attached patch fixes it as intended. This would be solution 5. listed in comment 1.
I'm not pushing it yet because there might be a better solution.
Comment 3 Justin Zobel 2022-10-24 00:46:30 UTC
Thank you for reporting this bug in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Comment 4 KDE Neon user 2022-10-24 01:21:50 UTC
@Justin

I'm sorry, but I'm currently not using Linux. Please follow to instructions I've provided. It takes just a minute to follow the steps.