Bug 442401

Summary: When not using offline updates and only updating certain packages, dependent packages can be manually unchecked but will be updated anyway
Product: [Applications] Discover Reporter: David <david.cortes.rivera>
Component: UpdatesAssignee: Dan Leinir Turthra Jensen <leinir>
Status: CONFIRMED ---    
Severity: minor CC: aleixpol, nate
Priority: NOR Keywords: usability
Version First Reported In: 5.21.5   
Target Milestone: ---   
Platform: Debian unstable   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description David 2021-09-13 23:43:33 UTC
SUMMARY
If I have many package updates available, and I try to use discover to update only some of those packages, as soon as I tick a package to update, it will tick all its dependencies without indicating this to the user. If the list of packages to update is large, chances are that the user will not notice that ticking a given package also ticked other packages along, which is not transparent.

STEPS TO REPRODUCE
1. Have many package updates available with dependencies that would also have updates.
2. Go to discover's update view and untick all the packages with the checkbox at the bottom.
3. Tick a package with dependencies that also have updates.

OBSERVED RESULT
Automatically ticks all dependencies without any warning.

EXPECTED RESULT
Should warn about packages that also need to be updated along, asking for confirmation.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.21.5
KDE Frameworks Version: 5.85.5
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2021-09-16 17:23:21 UTC
Yeah, we should probably prevent unchecking any packages that are dependencies of checked packages.