Strange, haven’t had the OS disobey the active hours setting even once here. Anyway, since this thread is about how to get Sumatra to deal better with unexpected reboots I won’t waste time attempting to elicit more information from you to diagnose what may be wrong with your system.
I’ve been using the pre-release v3.2.10766 64-bit version for a while now, and the “session restore” (or whatever we’re calling it) is not working. The last 2 days my PC at work has locked up at some point overnight. When I reboot, Sumatra opens with no files open.
I think some of those who’ve successfully observed session-restore work, may be restarting Windows “gracefully”, which is not the same as things like power-loss, lockup, etc.
I really like the “lightness” and simplicity of Sumatra, but this one basic issue is making it not-useful for me.
I’m happy to send any additional information which could help diagnose this issue.
Your long term problem must be very frustrating
It is natural that during a sudden brown out / power outage or other lock-up of your system the working session cannot be saved, what is unusual is that the (at that time) session file seems to be reset to zero in some way.
A question may be raised about passwords to open PDFs since they also are saved in the settings.ini file
If the file is reset they would also be “forgotten”, if so this IS related since it appears SumatraPDF does not keep a back-up of the settings file during such an event, and thus the solution is the same as for others (keep your OWN back-up.)
It IS frustrating that during an all too frequent crash of supposedly military grade applications that it WILL insist on replacing the latest work file with a much older system back-up, it is difficult to find a balance between keeping a current work file in reserve (which could itself be corrupt) or spending weeks rebuilding from sources so I manually keep my own back-up copies on a regular basis thus only losing a couple of hours of most recent work
Just lost all my open tabs again on a windows update reboot. Still using 3.2.10766 pre-release 64bit version. Hasn’t happened in a while,but I just lost about 20 tabs.
Just lost all my tabs yet again due to system reboot in the night.
I don’t understand which setting you have turned off ?
My machine has been pestering me every few minutes for hours today to close everthing
Since it wants to screw up my machine with a monthly update,
but I’m strongly resisting since I lost gazzilions of data last time
I said yes to “Are you Really sure, to be sure.”
In Windows 10 Home edition, you can’t turn off automatic updates or even tell windows to download them and wait for you to install them. So windows waits until the machine is not busy, downloads, installs, and reboots.
On my laptop, which is not on all the time, the behaviour is as you describe above. It tells me it wants to do it and pesters me to close things. But with my desktop which is always on, Win 10 just does it in the middle of the night, no warning.
This is not a new issue, this is something people have been complaining about with Windows 10 Home edition since the first surprise update. There are a few work arounds, but they are clunky. Check this out:
Ok I now understand it is the same as living in the Bermuda thunderstorm triangle, eventually you get hit, like it or not.
My best suggestion was always keep a back-up of your settings file (however I don’t bother)
There are ways to duplicate on a time schedule with a time/date in name so you would only need to go back to yesterday pm
Yeah, that’s what I’ve finally resorted to. Just installed a little proggie to back up the settings.txt file daily. Should save my bacon.
Just be cautious a copy of a bad settings file
is worse than none at all, since new rebuilds clean.
when your proggie backs up the settings file keep a second
copy without overwrite since bad on bad is not good