My favorites | Sign in
Project Home Downloads Wiki Issues
New issue   Search
for
  Advanced search   Search tips
Issue 53656: Chrome can't be made as default while installing when it already exists
1 person starred this issue and may be notified of changes. Back to list
 
Reported by project member suna...@chromium.org, Aug 27, 2010
What steps will reproduce the problem?
1. Install Chrome Stable 5.0
2. Go to http://www.google.com/chrome/eula.html?extra=betachannel 
3. Select the option to make chrome as default
4. Install (Chrome 6.0)

What is the expected output? 
When the install completes, chrome should be made as default

What do you see instead?
Chrome is not the default browser

Google Chrome 6.0.472.x
Comment 1 by anan...@chromium.org, Aug 27, 2010
(No comment was entered for this change.)
Owner: miran...@chromium.org
Labels: ReleaseBlock-Stable
Comment 2 by gwil...@chromium.org, Aug 27, 2010
(No comment was entered for this change.)
Status: Assigned
Cc: jeffr...@chromium.org
Comment 3 by mal@google.com, Aug 27, 2010
We can mitigate this at launch by not providing the checkbox on the EULA page. 

Not saying it's the best fix, but something to think about when deciding whether this blocks a Stable release.
Labels: Area-Internals
Comment 4 by gwil...@chromium.org, Aug 27, 2010
Actually, on second thought, i don't think this is a releaseblock.  Here's my thinking:

- The user already has Chrome (5.0) and it's not the default browser.  That seems intentional; it seems like an edge case that the user would want to set it as default when downloading, but not before.
- There are simple work-arounds to set chrome as default: the butter bar, options dialog, etc.

Jeff, let me know if you feel differently.
Labels: -ReleaseBlock-Stable
Comment 5 by jeffr...@chromium.org, Aug 28, 2010
Note: This is different than  issue 53655  (I was confused at first).

This bug isn't as bad as the other one ( issue 53655 ), since it just means the checkbox is non-functional (as opposed to doing the "wrong" thing). So I agree we don't need to make this a stable release blocker.

But since there's multiple bugs with the EULA page checkbox, maybe Mark's suggestion is easiest/best.
Cc: br...@chromium.org
Comment 6 by mirandac@chromium.org, Sep 1, 2010
(No comment was entered for this change.)
Status: Started
Comment 7 by kerz@google.com, Sep 1, 2010
(No comment was entered for this change.)
Labels: -Pri-2 Pri-1 ReleaseBlock-Stable Feature-FirstRun Mstone-6
Comment 8 by bugdroid1@gmail.com, Sep 1, 2010
The following revision refers to this bug:
    http://src.chromium.org/viewvc/chrome?view=rev&revision=58280 

------------------------------------------------------------------------
r58280 | mirandac@chromium.org | 2010-09-01 17:21:56 -0700 (Wed, 01 Sep 2010) | 12 lines
Changed paths:
   M http://src.chromium.org/viewvc/chrome/trunk/src/chrome/installer/setup/install.cc?r1=58280&r2=58279

Allow download Chrome page to set Chrome as default even if it is not a new install.

Read "make_default_for_user" preference from master_preferences file and set Chrome to default in installer if we are updating Chrome instead of installing a new version.
The problem here is that now that we set the default browser preference from a web page, we are using master_preferences to communicate this desire to the browser.
Because the user already has Chrome installed on his/her machine, the master_preferences file will not be written to their machine.
Instead, we check for this preference in the installer itself, and set Chrome to be default for the user here.

BUG=53656
TEST=Have Chrome installed on your machine, but *not* default browser.  Run setup.exe to install a new version of Chrome, with a master_preferences file that includes the distribution preference "make_default_for_user":true. (This reflects what happens when the user downloads Chrome with the "make default" option checked).
Chrome should be default browser.

Review URL: http://codereview.chromium.org/3342002
------------------------------------------------------------------------

Comment 9 by bugdroid1@gmail.com, Sep 1, 2010
The following revision refers to this bug:
    http://src.chromium.org/viewvc/chrome?view=rev&revision=58288 

------------------------------------------------------------------------
r58288 | mirandac@chromium.org | 2010-09-01 18:02:43 -0700 (Wed, 01 Sep 2010) | 15 lines
Changed paths:
   M http://src.chromium.org/viewvc/chrome/branches/472/src/chrome/installer/setup/install.cc?r1=58288&r2=58287

Merge 58280 - Allow download Chrome page to set Chrome as default even if it is not a new install.

Read "make_default_for_user" preference from master_preferences file and set Chrome to default in installer if we are updating Chrome instead of installing a new version.
The problem here is that now that we set the default browser preference from a web page, we are using master_preferences to communicate this desire to the browser.
Because the user already has Chrome installed on his/her machine, the master_preferences file will not be written to their machine.
Instead, we check for this preference in the installer itself, and set Chrome to be default for the user here.

BUG=53656
TEST=Have Chrome installed on your machine, but *not* default browser.  Run setup.exe to install a new version of Chrome, with a master_preferences file that includes the distribution preference "make_default_for_user":true. (This reflects what happens when the user downloads Chrome with the "make default" option checked).
Chrome should be default browser.

Review URL: http://codereview.chromium.org/3342002

TBR=mirandac@chromium.org
Review URL: http://codereview.chromium.org/3359003
------------------------------------------------------------------------

Comment 10 by mirandac@chromium.org, Sep 1, 2010
(No comment was entered for this change.)
Status: Fixed
Sign in to add a comment

Powered by Google Project Hosting