3 ms·
That's actually very close to what happens in Windows 10 2004. UWP apps, store apps, and any app updated reasonably recently (so, ime, Chrome) will absolutely r
by freeone3000 6y ago
That's actually very close to what happens in Windows 10 2004. UWP apps, store apps, and any app updated reasonably recently (so, ime, Chrome) will absolutely reboot and resume state after a machine restart. Try it out, it's cool.
Shutdown is currently two-phase, and has been since 7. Programs receive a shutdown notification, and then can handle it, and the machine doesn't shut down until all are handled... or until 2 minutes pass, because occasionally programs misbehave, and one program shouldn't be able to hold up the entire shutdown process.
- Dylan16807 6y agoThe request isn't for it to be two phase, it's for auto-shutdown to cancel if any program can't fully restore itself. If there's going to be a forced shutdown, to make sure everyone updates, it should come after half a week to a week of having a big warning on the screen. Windows should never be forcing programs closed when the user is on a coffee break or gone for the day or asleep. Also chrome will reopen pages, but if you were doing something on that page it's going to be gone. So unless they improve that, it's not a great candidate for auto-reboot.
- freeone3000 6y agoFor Chrome, that's going to be a fix on Chrome's side - you can't simply suspend/unsuspend like with hibernate because libraries are going to be changing, so it's up to each program to figure out how to restore. UWP handles it for you but, well. As for waiting for ALL programs to be ready: No. Not going to happen. There are programs written in 1996 still running on Windows PCs today that don't comprehend the event model, nevermind listening to the shutdown event to save state. And they will forever run. And the system is going to have to reboot at some point. The alerts were tried. People didn't like being told their computer was going to restart, so the alerts went away.
- Dylan16807 6y agoIf you only check programs that are in the task bar, you'll find plenty of computers where every running program is restart-aware and able to mostly save its state. > The alerts were tried. People didn't like being told their computer was going to restart, so the alerts went away. So what? Restarting without an alert is worse.
- freeone3000 6y agoAnd those programs handle a two minute window fine. This is two literal, wall-clock minutes. The problem is never the head. The problem is the long tail (not even that long!) - notepad, LabVIEW, Blackberry Storage Manager don't handle the event; Hexchat, Photoshop, and Mathematica opt not to restart.
- Dylan16807 6y agoIf you're in the tail, then give the user warning. It's a really easy thing to do. They just don't want to.
- Mirioron 6y agoSounds to me like this process is going to lead to a lot of buggy software that even a restart won't be able to fix.
- lawnchair_larry 6y agoNobody uses or wants UWP apps though.