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

            Bug ID: 401305
           Summary: offline updates get smashed by check for updates
           Product: Discover
           Version: unspecified
          Platform: Neon Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: discover
          Assignee: aleix...@kde.org
          Reporter: sit...@kde.org
  Target Milestone: ---

Staged offline updates in master can get "unstaged" easily and confuse the UI.


STEPS TO REPRODUCE
1. start in offline mode
2. do update
3. "please reboot" screen appears on update page
4. check for updates button on the page is still enabled
5. click the button
6. page still says please reboot
7. check /var/lib/PackageKit


OBSERVED RESULT
stage files disappear from PackageKit dir. so rebooting wouldn't actually apply
the update


EXPECTED RESULT
stage files should still be there. Alternatively the checking for updates can
very well cause an unstaging, BUT then the UI needs to reflect that.

In either case it may actually make sense to throw a yes/no dialog when the
user wants to check for updates. It may not actually be their intent to unstage
the updates.

(aside: if no new updates are available the new update run will basically just
create the stage files again, no additional work will need doing since the
files are still on disk and all, it's just the actual stage files that get
dropped)

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

Reply via email to