2026-04-13 19:03 UTC
@cocoaphony @shac
Under Unix-like systems (every major OS except Windows and some RTOSes) [1], this would require an addition of a "save state" save-upon-signal-receipt and a "restore state" as a command line option.
That is very do-able, and I'd like to see it, but getting it into all the apps out there beyond the core Unix apps seems like impossible logistics.
I would like to be wrong about the latter.
[1] Probably under *all* OSes, but that would require a painful survey.
Replies (1)
-
@shac@ioc.exchange 2026-04-13 19:34
@dougmerritt @cocoaphony iOS already handles this quite well. Its process lifetime model informs applications they need to exit and preserve state. They don’t know or care if they were evicted or if the system restarted. Traditional Mac desktop apps don’t do as well. Much of this has to do with either window placement or the notion of explicit file saving. Apple tried to change the latter but nobody adopted their method (because it was weird in a desktop context). For window placement, that’s on the Finder, but it’s a difficult problem due to dynamic monitor configuration.