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

Nate Graham <n...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
   Version Fixed In|                            |6.2.0
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/plasma-workspace/-/commi
                   |                            |t/4c5c66bdfcebb439eb6e1ccd3
                   |                            |5088762a1addf7d
             Status|ASSIGNED                    |RESOLVED

--- Comment #9 from Nate Graham <n...@kde.org> ---
Git commit 4c5c66bdfcebb439eb6e1ccd35088762a1addf7d by Nate Graham, on behalf
of Thomas Duckworth.
Committed on 20/08/2024 at 22:44.
Pushed by ngraham into branch 'master'.

Add Install Updates & Shut Down feature to Logout page

Depends on https://invent.kde.org/frameworks/breeze-icons/-/merge_requests/392

This feature reboots the computer, does an offline update, then shuts
down after the offline update has completed, rather than booting into
the operating system again.

The idea with this is that you can set your computer to update and
shut down and then walk away. Currently, there's no way to do this in
Plasma, so you can't leave the computer to update when you're done
with it; you have to wait for it to update then turn it off again.

Windows has similar functionality that this emulates, but this does
have to reboot the computer into the offline updater, and then shut
down from there, which is something that should be changed upstream
in PackageKit. Regardless, it's better than what we have now, and
it's not a big change to set it to shutdown and then apply updates
on the next boot.

Some code modernization and clean-up was also done in shutdowndlg.cpp.

See also https://invent.kde.org/plasma/discover/-/merge_requests/899
which exposes this functionality from Discover.
FIXED-IN: 6.2.0

M  +10   -6    CMakeLists.txt
M  +6    -0    logout-greeter/CMakeLists.txt
M  +96   -53   logout-greeter/shutdowndlg.cpp
M  +10   -2    logout-greeter/shutdowndlg.h
M  +57   -23   lookandfeel/org.kde.breeze/contents/logout/Logout.qml

https://invent.kde.org/plasma/plasma-workspace/-/commit/4c5c66bdfcebb439eb6e1ccd35088762a1addf7d

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

Reply via email to