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

Issue 821743 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug



Sign in to add a comment

Extension (Minimal Scrollbar) loading too late when Ephemeral profile is activated

Reported by glenn...@gmail.com, Mar 14 2018

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.186 Safari/537.36

Steps to reproduce the problem:
1. Install Minimal Scrollbar
2. Activate Ephemeral Profile (local registry or forced GPO)
3. Open Chrome with URL (shortcut or CMD; chrome.exe 'URL')

Note: Webpage must be a "simple" one that loads fast to replicate the issue.

What is the expected behavior?
The extension (Minimal scrollbar) should have taken effect as soon as the webpage loads, and I would have the minimal scrollbars rather than the original.

What went wrong?
Whenever Ephemeral profile is activated, it seems like the extensions have a delay before loading, but the webpage doesn't, resulting in a loaded webpage not affected by the extension. F5 (refresh) loads the extension.

Did this work before? No 

Chrome version: 64.0.3282.186  Channel: n/a
OS Version: 10.0
Flash Version: 

We use Chrome.exe with "--kiosk" and a URL typically as webinterface for a museum exhibit, we've used "--incognito" as well to remove the restore bubbles when the browser/computer is restarted. 
After adding computers to a domain for easier management, the incognito mode is not preferable, as we can't force extensions in this mode. Ephemeral should've been the solution to our problems, but unfortunately that seems to delay the loading of the extensions somewhat.

When disabling ephemeral profile it works as it should, but with the unwanted effect that the "restore session" bubble appears.
 

Comment 1 by zmin@chromium.org, Mar 14 2018

Owner: pastarmovj@chromium.org
Status: Assigned (was: Unconfirmed)
Assign to Julian to take a look
Cc: blumberg@chromium.org grt@chromium.org
This is expected behavior in ephemeral mode because in this case all extensions are re-installed in the newly created profile at each start and since extensions are installed asynchronously with all the other startup activities it might end up activated after the initial page load has happened.

The best solution would be to contact the author of this extension to ask that they add functionality to the extension that upon installation checks for existing tabs and re-loads them to inject itself into them.

It sounds like a reasonable request to change the way chrome starts in kiosk mode to not try to restore if it crashes but rather relaunch with its startup settings/policy instead. This should solve your use case.

Meanwhile an ugly hack would be to create a script to run before you start chrome that would try to do a search/replace in the Chrome\User Data\Default\Preferences file from "exit_type="Crashed"" to "exit_type="Normal"" which should make Chrome believe it could do a clean shutdown.

Comment 3 by glenn...@gmail.com, Mar 15 2018

Thank you, I’ve contacted the developer and suggested that the functionality should be added. 

In any case your hack could be of help to keep Chrome “clean” with GPO, so I’ll try that. 

But I do agree that Kiosk mode should not restore any tabs/settings and only rely on policies. I also want to add that it shouldn’t check if Chrome is a standard browser or give any other messages on screen. I know that browser check can be disabled with GPO which I’ve already done, but Kiosk should deactivate any unnecessary notifications IMHO. 

Sign in to add a comment