Restore tabs after crash, but leave as "offline", i.e. requiring a manual reload |
|||
Issue descriptionVersion: 56.0.2901.0 (Official Build) canary (64-bit) OS: Windows 10 What steps will reproduce the problem? (1) Open a window, and pin a few tabs. (2) Cause a browse crash with chrome://inducebrowsercrashforrealz (3) Reload Chrome What is the expected output? Pinned tabs are still there, along with the "restore tabs" dialog, and clicking "restore tabs" restores unpinned tabs. What do you see instead? No tabs appear, so unless you click "restore tabs" the pinned tabs are lost forever. Please use labels and text to provide additional information. I think pinned tabs should always restore after a crash, and the "restore tabs" button should just restore unpinned tabs. Sometimes I don't want to restore my tabs, but I always want to restore pinned tabs otherwise they wouldn't be pinned. Note: closing the browser ignoring the "restore tabs" and re-opening it, restores the pinned tabs, which again seems strange (but possibly the right thing to do).
,
Nov 6 2016
After a crash, if user clicks "restore tabs" then the tabs including the pinned ones are restored. This persists through a restart i.e. closing browser after this and reopening will again correctly reopen pinned tabs. If user does not click restore tabs and instead just closes the browser without acknowledging the dialog or navigating anywhere, then reopening the browser will restore pinned tabs. However, if the user ignores the "restore tabs" dialog and starts navigating to pages, surfing the web, then closes the browser, then the pinned tabs are lost forever. On a second restart of the browser they are also not there. It is this third behavior that I find counter-intuitive. Sorry I wasn't clearer in my original bug report.
,
Nov 7 2016
OK. I don't think we can safely auto-restore the pinned tabs after a crash, which would be the easiest way to avoid people getting into this scenario. I agree with comment 0 that it surprises me that closing the browser immediately (ignoring the dialog) and then reopening restores the pinned tabs. But I'm not sure that should be removed. I don't really think that, if the user does navigate and effectively "create session state", we should restore a previous session's pinned tabs on a subsequent restart. Then we're basically mixing state from two different sessions. Or in other words, given that we aren't restoring pinned tabs after a crash, the other behavior you describe seems correct. Maybe there's a way to work around all this, though. Perhaps after a crash, we should restore all the state, but not actually load any tabs (basically, the tabs are effectively in "offline" mode), and the user can either reload/navigate/close them individually, or hit something like the existing restore button to cause them all to go ahead and load. It seems like provides the best amount of control and dataloss prevention, without actually reloading something that might retrigger the crash bug. Then I think we bypass all this confusion. WDYT? +CC sky, who still owns sessions AFAIK, for thoughts as well.
,
Nov 7 2016
Agree with your assessment Peter.
,
Nov 7 2016
|
|||
►
Sign in to add a comment |
|||
Comment 1 by pkasting@chromium.org
, Oct 26 2016