New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 654425 link

Starred by 3 users

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug



Sign in to add a comment

Relaunching Chrome after exit doesn't reopen all previously-open profiles

Project Member Reported by sbirch@chromium.org, Oct 10 2016

Issue description

(Rachel, not sure which component this lives under but thought you might know where to send it.)

Version: 53.0.2785.143 (64-bit), OS X

What happened:
I quit Chrome to reboot my computer (and verified in preferences that "On startup" was set to "Continue where you left off.")

I rebooted. Chrome came up with 1/3 open profiles restored. Opening a new window with the second profile restored those windows as well, the third profile apparently had "Open the new tab page" and so those tabs did not restore.

Expected behavior:
1) All profiles with "Continue where you left off" set to open when reopening Chrome

2) (WAI, but...) I expected the "On startup" preference to apply to the install of Chrome rather than on a per-profile basis
 
Components: UI>Browser>TabStrip
Components: -UI>Browser>TabStrip UI>Browser>Sessions
Summary: Relaunching Chrome after exit doesn't reopen all previously-open profiles (was: Re-opening Chrome with multiple profiles doesn't restore all tabs)
(2) is indeed WAI (all preferences are per-profile).  I can see an argument for (1), though.  I would go further and say that all profiles that had any open window at last exit should be reopened, using each profile's relaunch settings.  In your case, that would mean restoring all three profiles, loading just a new tab in the third profile.

Comment 3 by tapted@chromium.org, Nov 16 2016

Cc: sdy@chromium.org ellyjo...@chromium.org shrike@chromium.org
Components: UI>Shell>MultipleProfile
Labels: Proj-MacQualityOfLife Hotlist-GoodFirstBug
Status: Available (was: Untriaged)
[mac triage]

both

void ChromeBrowserMainPartsWin::RegisterApplicationRestart(..)

and

void ChromeBrowserMainPartsMac::PreEarlyInitialization()

have codepaths that add `switches::kRestoreLastSession`

Session restore doesn't seem to do much with kRestoreLastSession though.

The presence of  Issue 630618  suggests it's possible to restore multiple profiles at once (but also that there are dragons when trying to do that). This will need further investigation.

Comment 4 by sdy@chromium.org, Dec 1 2016

Labels: -Proj-MacQualityOfLife Hotlist-MacQualityOfLife
Labels: -Hotlist-MacQualityOfLife Hotlist-PlatformExcellence
Migrating to more generic platform label, so that it can be applied to other platforms (i.e. I love the idea).
I have this, too, Linux GNOME Shell.

If Chromium is exited using GNOME top bar - Chromium Web Browser - Quit,
then only the last closing profile is opened on relaunch

If Chromium is opened by selecting ⋮ - Exit,
then all profile reopen on relaunch
Version 55.0.2883.87 Built on Ubuntu , running on Ubuntu 16.10 (64-bit)

Comment 8 by rpop@chromium.org, Apr 3 2017

Cc: rpop@chromium.org ew...@chromium.org
Owner: ----
+ewald, this would be good to improve for multi-profile users. Possibly related to issue 130656?

Comment 9 by ew...@chromium.org, Apr 5 2017

Hmmmm, right now on Mac Canary, I'm observing the "desired" behavior from comment #0. Specifically, if I quit Chrome (by going Chrome > Quit Google Chrome) with two profiles open and then re-open Chrome, both profiles are opened, and their respective startup prefs are honored.

Any ideas why I'd be seeing that on Canary?
Project Member

Comment 10 by sheriffbot@chromium.org, Apr 11 2018

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Status: Available (was: Untriaged)

Sign in to add a comment