https://bugs.kde.org/show_bug.cgi?id=445226

            Bug ID: 445226
           Summary: Replace "this will remove some packages" dialog with a
                    check for the transaction removing system-critical
                    packages like plasma-workspace or kwin
           Product: Discover
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: discover
          Assignee: lei...@leinir.dk
          Reporter: n...@kde.org
                CC: aleix...@kde.org
  Target Milestone: ---

Right now, anytime an update transaction in Discover will remove packages, we
show a dialog asking, "Are you sure?" and showing you the packages that will be
removed, as well as the packages that will be updated.

This was done to provide a warning to users when an update or app removal would
do something bad like delete necessary Plasma packages. However in retrospect,
it is a fairly crude and ineffective way to accomplish this, for several
reasons:
- It shows the user technical data that they are unlikely to understand
- Some OSs that regularly remove packages as part of updates (e.g. to replace a
package named kernel-5-14-6 with a different package named kernel-5-14-7). This
causes the user to stop seeing the warning as a potentially dangerous thing,
and they will learn to ignore it
- When an update removes a small number if packages and updates a large number
of packages, the key data about what's being removed can get hidden

For these reasons, this dialog is unlikely to actually save the user if they
try to do something that wants to remove Plasma.

We should consider replacing this with a more narrow check that sees whether a
transaction is proposing to delete plasma-workspace, kwin, and any other
packages deemed critical to the system's operation. Only in this case should we
display a warning, and it should be a big scary warning. Perhaps it should even
outright prevent the user from proceeding.

The warning should have some blame-shifting text in it, saying something like,

"If you believe this is an error, please report it as a bug to your
distribution's packagers."

With a button that says "Report bug" which takes the user to the distro bug
reporting page, just like we do for general update issues.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to