• SokathHisEyesOpen@lemmy.ml
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    1 year ago

    Well that’s handy. I wonder what determines if it can relaunch a program or not. Does it retain your actual work state though, or just relaunch those programs? On my MacBook if I tell it to restore stuff when I shut down then it takes me back to exact same state, sans some VPN logins. Unsaved text editor files will still be there, whatever I had open in vs code will be active, all my browser tabs will restore, etc… It acts more like a hibernate than a shutdown.

    • d3Xt3r@lemmy.nz
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      Yep it does restore application state as well, but it’s a bit of a hit-and-miss. Notepad is restored surprisingly well - including unsaved text and multiple windows; Firefox and Edge browser tabs are restored; unsaved Word docs are restored as well but oddly enough, Outlook’s state isnt restored (although it does save any unsaved drafs).

      I’m guessing some sort of resume/restartable support is needed from the app as well for this to work properly. I imagine modern “UWP” apps would just work, but some additional coding might be needed for traditional win32 apps. Like Adobe Reader for instance, it doesn’t get restored at all.