updates page: Fix flatpak updates inadvertently triggering a reboot
Move the logic to decide if we need to reboot or not to run _before_ scheduling an update. Previously we would do it _after_ having applied the updates, which didn't work because the app flags we were looking at to make the decision (AS_APP_STATE_UPDATABLE_LIVE) had already changed at that point (to AS_APP_STATE_INSTALLED). This fixes a long standing bug where flatpak updates done through "Update All" would inadvertently bring up the shell reboot dialog and then lead to a gnome-software crash after dismissing the dialog. https://bugzilla.gnome.org/show_bug.cgi?id=782618
parent
2b19f2ab
-
mentioned in issue #241 (closed)
-
mentioned in issue #341 (closed)
Please register or sign in to comment