Yes, I understand that it involves some heuristics and that there are edge-cases with possibly wrong re-association, if the Chromium improvement does not get implemented. The Save-Close-All button is indeed a workable solution but it has two negatives for me personally: (1) i forget about it sometimes, it's more effort than it should be; (2) once reopened, the last windows are not visually distinct in any way - they only have the (closed Aug 27, ...) label but for me they should stand out more (perhaps bolded or green).This morning I opened a new windows and then closed it and I realized that if it were autosaved, I'd not be happy. So I agree with your assessment that maybe auto-save every window by default is not the best way to do it.
But how about differentiating between a single window close and a Chrome-wide "exit"? Does the API allow you to distinguish these two cases? If it does, you could auto-save all open windows on "chrome exit" but not auto-save generic windows on single close. You could even flip a flag and auto-restore those windows on Chrome startup if "startup with Chrome" option is checked for TO. This way, you would effectively replace the "continue where i left off" option and people would be happy.Another question - when Chrome crashes, is it 100% certain that TO would preserve all open windows? The uncertainty about this is another reason for me to stick to "continue where i left off".
For what it's worth, I strongly double this opinion - it is exactly what TO needs to become a truly great plugin. As of now, I just can't find a workable solution of preserving my session when i need to reset Chrome for whatever reason. This leads me to keep "continue where i left off" checked which on the other hand causes ten thousand duplicates on crashes. Vladyslav, I understand that if solved, the issue in Chromium would be the perfect solution for you, but it's only got 7 stars by now and it's probably not really high on the priorities list. Meanwhile, in 0.4.48 you implemented auto-save for windows but opted to keep root level default windows out of it. If you extend this auto-save to all kinds of windows, it would automatically serve as a session restore, especially if you can set a flag on isWindowClosing and bring those windows back to life on startup. I understand your concern that preserving all windows by default creates a mess, but as heavy users of your plugin I think we can absolutely assure you that this behavior is very much desired in order to allow TO to fully replace all other session software in Chrome. And lastly but most importantly, thank you for all the great work on this!
Служба підтримки клієнтів працює на UserEcho