Bug 435845 - Option to shut down/restart without applying pending offline updates
Summary: Option to shut down/restart without applying pending offline updates
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Theme - Breeze (show other bugs)
Version: 5.21.4
Platform: Neon Linux
: HI wishlist
Target Milestone: 1.0
Assignee: Nate Graham
URL:
Keywords: usability
: 436924 441430 445716 446286 (view as bug list)
Depends on:
Blocks:
 
Reported: 2021-04-17 13:08 UTC by danny@thefallenphoenix.net
Modified: 2023-11-24 23:52 UTC (History)
13 users (show)

See Also:
Latest Commit:
Version Fixed In: 6.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description danny@thefallenphoenix.net 2021-04-17 13:08:32 UTC
SUMMARY
Both the GNOME (AFAIK) & Windows (for sure) implementations of Offline Updates provide a very useful feature that IMO is essential if we want to reduce user frustration around offline updates.

That feature is that as well as the usual Shutdown/Restart menu options there is also "Apply Updates & Shutdown" & "Apply Updates & Restart" options available after preparing an offline update. These do as you might expect; the first reboots into the offline environment, applies the updates and then shuts the system down, the second does the same but reboots instead of shutting the system down.

This lets people "walk away" at the end of the day for example with the first option knowing that updates will be applied and their machine turned off. Crucially though they will not suffer additional "boot-up" time when they next use their machines. The second option provides a similar benefit, I see that more as a "I have a second so lets get these updates applied" scenario.
Comment 1 Nate Graham 2021-04-17 13:33:33 UTC
Very strongly agreed.

Probably needs implementation at multiple levels of the stack. There are times when you just want to shut down or reboot right now, without having to wait.
Comment 2 danny@thefallenphoenix.net 2021-04-17 13:36:12 UTC
Agreed re: having the option to just Shutdown/Restart remain as options. This is actually how Windows 10 does it.
Comment 3 David Edmundson 2021-06-05 22:41:54 UTC
*** Bug 438136 has been marked as a duplicate of this bug. ***
Comment 4 Nate Graham 2021-06-08 23:51:02 UTC
*** Bug 438136 has been marked as a duplicate of this bug. ***
Comment 5 Nate Graham 2021-08-23 20:28:46 UTC
*** Bug 441430 has been marked as a duplicate of this bug. ***
Comment 6 Nate Graham 2021-11-23 22:05:26 UTC
*** Bug 445716 has been marked as a duplicate of this bug. ***
Comment 7 Nate Graham 2021-12-01 22:49:03 UTC
*** Bug 446286 has been marked as a duplicate of this bug. ***
Comment 8 Tobias G. 2023-03-10 10:01:13 UTC
Is there any progress on this?
I really hate offline updates in KDE currently, because every simple reboot instantly prevents me from using my computer for updates to install that were not that important to me in this moment.
Having an option to let the user choose is, at least for me, vital.
This is the very reason I don't use offline updates currently with KDE and can't recommend enabling them.
Comment 9 Nate Graham 2023-05-17 17:23:29 UTC
*** Bug 436924 has been marked as a duplicate of this bug. ***
Comment 10 Kai Uwe Broulik 2023-11-21 10:32:21 UTC
Git commit abe3640c01667f9326b34220473af4fd6e5312bb by Kai Uwe Broulik.
Committed on 21/11/2023 at 11:01.
Pushed by davidedmundson into branch 'master'.

logout-greeter: Add "Install Updates & Restart" button

When an offline update has been scheduled, turn the "Restart" button
into an "Install Updates & Restart" button and let the regular "Restart"
button cancel the pending update.

Also let the countdown timer hint to the fact that updates will be
installed on restart.

There's an explicit cancelSoftwareUpdateRequested() signal since a theme
might instead want to provide a simple hint with a "not now" button
that just cancels the pending update without restarting.

M  +47   -0    logout-greeter/shutdowndlg.cpp
M  +3    -0    logout-greeter/shutdowndlg.h
M  +21   -5    lookandfeel/org.kde.breeze/contents/logout/Logout.qml

https://invent.kde.org/plasma/plasma-workspace/-/commit/abe3640c01667f9326b34220473af4fd6e5312bb
Comment 11 danny@thefallenphoenix.net 2023-11-21 10:38:49 UTC
(In reply to Kai Uwe Broulik from comment #10)
> When an offline update has been scheduled, turn the "Restart" button
> into an "Install Updates & Restart" button and let the regular "Restart"
> button cancel the pending update.
> 

This is great but doesn't fulfil the aim of "being able to walk away at the end of the day". Specifically that would require an apply updates and Shutdown, not Restart. In fact I'm not sure how apply updates and restart is different to just Restart.
Comment 12 John 2023-11-21 13:02:15 UTC
(In reply to danny@thefallenphoenix.net from comment #11)

> This is great but doesn't fulfil the aim of "being able to walk away at the
> end of the day". Specifically that would require an apply updates and
> Shutdown, not Restart. In fact I'm not sure how apply updates and restart is
> different to just Restart.

"Apply Updates and Shutdown" is also way more important to me that "apply updates and restart".
However, that's addressed in bug 436928