Bug 465437 - Flatpak system software/runtimes that must be updated with hard dependency should not be unselectable when app update is available
Summary: Flatpak system software/runtimes that must be updated with hard dependency sh...
Status: CONFIRMED
Alias: None
Product: Discover
Classification: Applications
Component: Flatpak Backend (other bugs)
Version First Reported In: 5.26.5
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-07 18:09 UTC by yizel7
Modified: 2023-02-07 20:18 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description yizel7 2023-02-07 18:09:32 UTC
SUMMARY
***
When updating flatpaks in Discover, the user has the ability to either manually uncheck Applications, Addons and System Software one by one or Select All/Select None at the bottom. Currently if I were  to uncheck everything in System Software aka Runtimes as they are known in flatpak, if there is a hard dependency to a flatpak they will be updated regardless if they were checked off or not. This seems disingenuous. If I were uncheck a system software/runtime I would expect Discover to not do anything as is displayed.

Example:
Applications
[x] Dolphin

Addons
[empty]

System Software
[] Free desktop w.e

then when Dolphin is updated, since Free desktop is a hard dependency after the install is done and Discover refreshes I now see:

Applications
[empty]

Addons
[empty]

System Software
[empty]

I would expect Free desktop w.e to still be there if it wasn't checked off.

STEPS TO REPRODUCE
1. Install a bunch of flatpaks that have lots of dependencies. Signal, Firefox, Krita, etc
2. Wait a couple days/weeks depending on the apps for updates to appear

OBSERVED RESULT
System software/runtime is updated/refreshed despite not being checked off when accompanying software is updated/refreshed

EXPECTED RESULT
Can Discover be updated so system software/runtimes that are required to be updated or "refreshed" with accompanying are made read only when the application is selected?

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.26.4
KDE Frameworks Version: 5.101.0
Qt Version: 5.15.7
Kernel Version: 6.0.17-hardened1-1-hardened (64-bit)

ADDITIONAL INFORMATION
Thanks for all the recent improvements that have been made to Discover. Can't wait until they are out.