Created attachment 183335 [details] Screenshot showing the actual behaviour SUMMARY After discover has downloaded update packages and a restart was requested by the users, misleading texts are displayed indicating that the system will first update the packages and then reboot. While it is the opposite: First it will restart and then it will update the packages. STEPS TO REPRODUCE 1. Let discover have downloaded some updates 2. Press the "Restart and Install Updates" button (or restart from the application launcher menu) 3. - OBSERVED RESULT Desktop background is blurred and a countdown text is displayed (sorry, my system uses German language): 1) "Installation der Softwareaktualisierungen und Neustart in 26 Sekunden" (Update of the software packages and restart in 26 seconds) 2) Also 3 options are displayed: Option 1: "Aktualisierungen installieren und neu starten" (Install updates and restart) Option 2: "Jetzt neu starten" (Restart now) Option 3: "Abbrechen" (Cancel) - The countdown text is misleading (I guess it's the same in the original English text): It states that updates would be installed and THEN a restart will occur. But it's the opposite. - Same for the option 1 button text. EXPECTED RESULT "Update and restart" texts correspond to the actual behaviour of the system. SOFTWARE/OS VERSIONS Windows: macOS: (available in the Info Center app, or by running `kinfo` in a terminal window) Linux/KDE Plasma: Fedore Linux 42 (KDE Plasma Desltop Edition) (Wayland) KDE Plasma Version: KDE Frameworks Version: 6.16.0 Qt Version: 6.9.1 ADDITIONAL INFORMATION
I confirm this behavior on Fedora 42 and git-master. The behavior is the same on any distro. However - what I observe is that updates are installed before the restart, so the text in Discover is incorrect. Click Restart, click "Install updates and restart" Observe: "Installing Updates.... Do not turn off your computer" Boot screen with list of kernels System starts Also, notice that these two strings have contradictory text: In Discover - "Restart and Install Updates" button In the Restart screen - "Installation der Softwareaktualisierungen und Neustart in 26 Sekunden" (Update of the software packages and restart in 26 seconds) "Install updates and restart" The language in Discover is incorrect, the language in the Restart screen is correct. It seems like the string in Discover needs to be updated.
Correction, after watching another update Click Restart, click "Install updates and restart" Observe: System is restarted "Installing Updates.... Do not turn off your computer" Boot screen with list of kernels System starts Perhaps they are both wrong in different ways.
Yeah, so that is probably a problem in the logout dialog itself. Discover doesn't really do anything but start the procedure.
This isn't something KDE controls; the way this method of updating works is controlled by the PackageKit library. So we can't change that. What we can change is how it's presented. If you want to get really technical, what actually happens is: - restart - install updates - restart again Discover says "install updates and restart"; the logout screen says "Restart and Install Updates"; both are right, and in practice, it's a distinction without a difference.