New issue
Advanced search Search tips

Issue 657653 link

Starred by 2 users

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 1
Type: Bug



Sign in to add a comment

Session restore does not work for all profiles, after a shutdown without prior logout, or a restart-to-upgrade

Project Member Reported by reillyg@chromium.org, Oct 19 2016

Issue description

Version: 55.0.2883.17
OS: Chrome OS

What steps will reproduce the problem?
(1) Sign in to multiple profiles.
(2) Accept a system update.

What is the expected output?
When logging into the primary profile again the session should be restored. When logging into any other profiles that were also signed in before their session should also be restored.

What do you see instead?
The primary profile's session is not restored but the second profile I log into's session is restored.

 

Comment 1 by w...@chromium.org, Dec 14 2016

Summary: Session restore does not work for all profiles, after a shutdown without prior logout, or a restart-to-upgrade (was: Session restore does not work on upgrade for all profiles.)
This issue also repros for non upgrade situations:
1. Sign in multiple profiles and open tabs in them.
2. Shutdown the device, without first logging off.
3. Restart the device and sign-in to the same primary, secondary etc profiles.

I observed the primary profile restored directly, but a secondary profile instead showed the Restore butter-bar, saying that Chrome had not shutdown cleanly.
It's interesting that you observe the opposite behavior from what I've seen in the upgrade scenario.

Comment 3 by w...@chromium.org, Dec 14 2016

Yes; now you mention it, I wonder if it's racey, or if they're actually two different issues.
Owner: x...@chromium.org
Status: Assigned (was: Untriaged)
I can reproduce this issue by simply visiting chrome://restart while I have two profiles loaded. Both profiles reload but one of them loses all of its tabs.

Comment 6 by w...@chromium.org, Apr 9 2017

Labels: -Pri-3 Pri-1
Bumping priority based on their being a reliable and simple repro as per #5.

Comment 7 by x...@chromium.org, Jun 6 2017

Cc: x...@chromium.org
Owner: sammiequon@chromium.org
I'm not observing this when I try #2 or #5. The profiles should all have "Continue where you left off" checked in settings right? The tabs are as expected after I shutdown without logout or chrome://restart.

reillyg@/wez@ - can either of you still reproduce this?
I can still reproduce this on 60.0.3112.0. Both profiles have pinned tabs and a regular tab open. If I navigate to chrome://restart the second profile comes back with the pinned tabs and regular tab but the first profile only comes back with the pinned tabs.
Hey Reilly,

I tried pinning the tabs but I still cannot reproduce. I'm on 61.0.3123.0. When you have time, could you check if it works on the latest?

Thanks,
Sammie
I flashed a device with 61.0.3123.0 and confirmed I can still reproduce this.
Cc: w...@chromium.org
Labels: Needs-Feedback
Sammie pointed out that the device I'd flashed 61.0.3123.0 onto had my first profile set to "open the new tab page." The device I originally encountered this issue on however is set to "continue where you left off." Flipping this setting to "open the new tab page" and back to "continue where you left off" fixed this issue for me.

wez@, can you confirm that this is the case for your system as well?

Comment 13 by w...@chromium.org, Jun 10 2017

I'm away from the device right now, but will try when I'm next in front of
it.

Can you clarify whether you mean flipping the setting without restarting,
versus flipping it, restarting, flipping it back, and restarting again -
i.e. you'd also have lost any existing tab/session state?
I flipped the setting without restarting so I would not have lost any existing tab/session state.

Sign in to add a comment