Bug 2009353
| Summary: | power off request becomes a reboot whenever 'install pending software updates' is checked | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Chris Murphy <bugzilla> |
| Component: | gnome-shell | Assignee: | Florian Müllner <fmuellner> |
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 35 | CC: | adscvr, fmuellner, gnome-sig, jadahl, mcatanza, otaylor, philip.wyett |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-09-30 14:23:47 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: | |||
|
Description
Chris Murphy
2021-09-30 13:00:21 UTC
When you select "Power Off" with "Install Pending Software Updates" the expected behavior is: system should reboot, install pending updates, and then shut down. Whereas if you select "Reboot" with "Install Pending Software Updates" the expected behavior is: system should reboot, install pending updates, and then reboot again. >When you select "Power Off" with "Install Pending Software Updates" the expected behavior is: system should reboot, install pending updates, and then shut down.
It's a catch-22 because "install pending" is ambiguous when to install, before or after the requested shutdown. But in my case I was concerned and surprised because the laptop had less than 20% battery. While it's not a bug because it's working as designed, I'm not sure the design accounts for low battery situations where perhaps the default would be to detect that state, and have "install pending" unchecked by default. But yeah, that's a RFE...
(In reply to Chris Murphy from comment #2) > While it's not a bug > because it's working as designed, I'm not sure the design accounts for low > battery situations where perhaps the default would be to detect that state, > and have "install pending" unchecked by default. But yeah, that's a RFE... I actually implemented exactly that behavior. Are you sure GNOME considered you to be in low power state? Previously, it *always* told you to plug in when on battery power, but that was annoying rather than useful IMO. Now, once it displays a warning that you're on low power (you should get a desktop notification and the battery icon in the top-right should have a color warning indicator), then the "install updates" button should be unchecked and it should display a message telling you to plug in before installing updates. So tbh I think your battery was just not low enough, and everything is probably working as designed. yep sounds like it, i'll reopen if i discover something different |