Bug 1805265

Summary: No checkbox to install updates in the shutdown dialog
Product: [Fedora] Fedora Reporter: Jiri Eischmann <jeischma>
Component: gnome-shellAssignee: Michael Catanzaro <mcatanza>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 32CC: awilliam, bcotton, blu2lz, eduardo.perezesteban, fmuellner, gnome-sig, jadahl, julien.enche, mcatanza, otaylor, philip.wyett
Target Milestone: ---Keywords: CommonBugs
Target Release: ---Flags: bcotton: fedora_prioritized_bug+
Hardware: All   
OS: Linux   
Whiteboard: https://fedoraproject.org/wiki/Common_F32_bugs#shutdown-no-offlineadd 1805265 (update prompt on shutdown menu missing in GNOME)
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1814820 (view as bug list) Environment:
Last Closed: 2020-04-07 14:57:11 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1814820    

Description Jiri Eischmann 2020-02-20 15:28:23 UTC
When gnome-software/packagekitd prepared packages for offline updates there was a checkbox in the shutdown dialog to perform offline updates before shutdown/reboot.

It was a convenient way for users to do updates and a reminder they have updates waiting without which many users fail to ever install updates.

Since (probably) F31 it no longer works. The checkbox doesn't show up when there are updates. To make the checkbox appear you have to open GNOME Software, go to the Updates screen, click "Reboot and install", click Cancel and then open the shutdown dialog.

This is most likely caused by suspending the packagekitd process. GNOME Shell then cannot check the status of updates and can't show the checkbox.

Proposed solutions:
1) revert the change to suspend the packagekitd process when it's not needed.

2) resume the packagekitd process to get the updates status before the shutdown dialog is shown.

The option 2) would be preferred if it significantly doesn't delay the shutdown dialog because 1) would result in constantly higher consumption of memory.

Comment 1 Ben Cotton 2020-02-26 18:26:09 UTC
Deferring a decision on Prioritized Bug status until after we consult with the Workstation WG. https://meetbot.fedoraproject.org/fedora-meeting/2020-02-26/fedora_prioritized_bugs_and_issues.2020-02-26-16.00.log.html#l-105

Workstation WG ticket created: https://pagure.io/fedora-workstation/issue/133

Comment 2 Michael Catanzaro 2020-02-26 18:39:48 UTC
We think it's been broken since Fedora 29.

Comment 4 Michael Catanzaro 2020-03-17 23:40:36 UTC
BTW: this regressed in PackageKit 1.1.11 (nice version number). So Fedora 29 was indeed the first broken version.

Comment 5 Michael Catanzaro 2020-03-26 15:12:21 UTC
Fixed in 3.36.1.

Comment 6 Torsten Casselt 2020-03-28 20:06:32 UTC
Just a FYI to maybe improve the bug triage process: https://bugzilla.redhat.com/show_bug.cgi?id=1761090
Glad this will finally be addressed!

Comment 7 Michael Catanzaro 2020-03-28 22:12:20 UTC
*** Bug 1761090 has been marked as a duplicate of this bug. ***

Comment 8 Michael Catanzaro 2020-03-28 22:13:25 UTC
Sorry, downstream bugs are rarely triaged due to high volume. Best way to get attention is usually to report directly upstream.

Comment 9 Ben Cotton 2020-04-07 14:47:56 UTC
Gnome 3.36.1 is in the stable repo now. Should this bug be closed?

Comment 10 Michael Catanzaro 2020-04-07 14:57:11 UTC
Yes, thanks for the reminder.

Comment 11 eduardo.perezesteban 2020-04-11 21:39:40 UTC
*** Bug 1766073 has been marked as a duplicate of this bug. ***