New issue
Advanced search Search tips

Issue 601586 link

Starred by 2 users

Issue metadata

Status: WontFix
Owner: ----
Closed: May 2016
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 3
Type: Bug



Sign in to add a comment

User setting lost when Chrome refreshes Preferences file

Reported by e...@securelink.com, Apr 7 2016

Issue description

Chrome Version       :  49.0.2623.112 m
URLs (if applicable) :
Other browsers tested:
  Add OK or FAIL after other browsers where you have tested this issue:
     Safari: PASS/FAIL (Version)
    Firefox: PASS/FAIL (Version)
         IE: PASS/FAIL (Version)

What steps will reproduce the problem?
---------------------
(1) Launch chrome
(2) Edit %localappdata%\Google\Chrome\User Data\Default\Preferences and insert a new file extension into the "extensions_to_open" value (or create and insert an entirely new "download" member, e.g.:
"download":{"extensions_to_open":"securelinkcm"}. Without a known and installed file association this can be still be demonstrated by changing the contents of the extensions_to_open value, and watching that it will be overwritten by chrome.
(3) Navigate to a new url (this appears to be when the Preferences file is overwritten but could be triggered in other ways).

What is the expected result?
---------------------
extensions_to_open retains the dynamically configured value, and Chrome is able to launch the given file with the system configured application for that file type without further action by the user.

What happens instead?
---------------------
The user configured extension is lost when the Preferences file is rewritten. A user must instead manually select "Always open files of this type" in order to launch the given file type automatically.

Please provide any additional information below. Attach a screenshot if
possible.
---------------------
The extensions_to_open is a user preferences, not controlled by a policy, and editing the Preferences files is (loosely) documented as being the method for updating it. See http://www.chromium.org/administrators/configuring-other-preferences

Opening files directly is a common and intuitive way to navigate between a browser and an installed application. Conversely, for an non-savvy user to have to 1) realize there is the "Always open files of this type" option hidden in the unlabelled dropdown menu next to a downloaded file, and 2) to have to take the extra step to do this in order to have a seamless transition to the application associated with the file type, causes a lot of confusion.

Installing an application associated with a file type can be as easy as downloading and launching the app, which then creates the file association and configures the browser to open that file type automatically. Subsequently a user can simply click a link to a file type associated with the app to run. Note that it's a common workflow to do both steps while chrome is running. If the user setting is modified before chrome is launched, it isn't overwritten. But it would be unreasonable to close chrome in order to enable this to work. Configuring user settings is broken by this behavior. Merging the user settings in Preferences instead of overwriting the file would fix this.











 

Comment 1 by ajha@chromium.org, May 5 2016

Components: Internals>Installer

Comment 2 by grt@chromium.org, May 12 2016

Components: -Internals>Installer UI>Browser>Profiles
Status: WontFix (was: Unconfirmed)
Editing the Preferences file while Chrome is running is not supported.

Sign in to add a comment