Closed
Bug 392137
Opened 17 years ago
Closed 17 years ago
Retention: take over user defaults during install on Win32
Categories
(Firefox :: Installer, defect, P4)
Tracking
()
RESOLVED
FIXED
Firefox 3
People
(Reporter: robert.strong.bugs, Assigned: robert.strong.bugs)
References
()
Details
(Keywords: late-l10n)
Attachments
(3 files, 3 obsolete files)
7.52 KB,
patch
|
sspitzer
:
review+
benjamin
:
review+
beltzner
:
approval1.9+
|
Details | Diff | Splinter Review |
176.69 KB,
image/png
|
Details | |
9.07 KB,
patch
|
Details | Diff | Splinter Review |
See "Alter the default browser settings path for better user choice" at http://wiki.mozilla.org/Retention
1. Is this the first launch? (pref check?)
2. Is this the only profile for this user?
3. Is the app not set as the default?
4. Take defaults.
1. Is app launched from the OS? (url, applevent, etc. - won't be 100% detectable on all OS's)
2. Show UI as shown on wiki and act accordingly
http://wiki.mozilla.org/images/4/4e/Retention_Plan_2.010.png
note: comments about whether this is the right or wrong thing to do should be added to the following discussion page.
http://wiki.mozilla.org/Talk:Retention
Assignee | ||
Comment 1•17 years ago
|
||
Benjamin, I'd like your insight as to how feasible the steps above are?
Comment 2•17 years ago
|
||
> 4. Take defaults.
what does "Take defaults." mean?
Assignee | ||
Comment 3•17 years ago
|
||
It means to make Firefox the default handler for the protocols and files it can handle at the user level
Comment 4•17 years ago
|
||
Rob, let's talk in person, I'm not sure what the question is exactly. I don't particularly like making the behavior depend on whether you have one or more profiles installed.
Assignee | ||
Comment 5•17 years ago
|
||
Benjamin, definitely... I'll buy the drinks. :P
note: the reason for the check of the existence of other profiles is to prevent doing this for the same user if they have multiple profiles which can be leveraged by the community of testers. A better option might be to set this in profiles.ini or some other user specific place that would apply to all profiles.
Comment 6•17 years ago
|
||
> It means to make Firefox the default handler for the protocols and files it
> can handle at the user level
Thanks for clarifying. Comments here: http://wiki.mozilla.org/Talk:Retention#concerns_over_taking_over_the_default
Can we touch base on the status of the bug this week?
Also, I know there are some questions/concerns about this, so want to talk through that and figure out the best way to work through them.
Assignee | ||
Comment 8•17 years ago
|
||
Sure, I'll contact you probably Thursday. As for progress, no progress due to working on other bugs we need for Firefox 3.0 and 2.0.0.7
note: after discussing this with mconnor the current thought is to by default do this in the installer (win32 only) and take over the defaults when performing a default install and provide the option not to take over the defaults in an advanced install. The rationale is that installers such as media player installers already do this.
JT Batson, is that acceptable? Do we still need to display the additional ui to say we've taken over defaults?
Assignee | ||
Comment 9•17 years ago
|
||
Could you also get Retention added to the PRD since it is our working document for Firefox 3.0?
Comment 10•17 years ago
|
||
Retention in to PRD- sure-- how do I do that?
As for the solution you outlined above, I think that makes sense. Thanks for your help.
Assignee | ||
Comment 11•17 years ago
|
||
(In reply to comment #10)
> Retention in to PRD- sure-- how do I do that?
Touchbase with Basil or Beltzner if he wasn't on vacation
> As for the solution you outlined above, I think that makes sense.
OK, I'll start on this hopefully within the week.
Assignee | ||
Updated•17 years ago
|
Component: OS Integration → Installer
QA Contact: os.integration → installer
Assignee | ||
Comment 12•17 years ago
|
||
Hey Mike, since this has to be done just 'right' I want your take on this approach. I can hide the controls in the instance where an installation of Firefox is already set as the default browser. I can also add more install summary info.
btw: I've been wanting to add back the Summary wizard page (it was in the xpinstall wizard) for quite some time so we can change the next button to an install button just prior to the actual installation operations starting.
Assignee: nobody → robert.bugzilla
Status: NEW → ASSIGNED
Attachment #277861 -
Flags: review?(mconnor)
Assignee | ||
Comment 13•17 years ago
|
||
note: I'm planning on keeping the check to see if the app is already default to only checking if we are the default handler for http. The app has thorough code for checking and this should suffice for this bug IMO.
OS: All → Windows Vista
Hardware: All → PC
Summary: Retention: take over user defaults at startup → Retention: take over user defaults during install on Win32
Updated•17 years ago
|
Attachment #277861 -
Flags: review?(mconnor) → ui-review+
Assignee | ||
Updated•17 years ago
|
Target Milestone: --- → Firefox 3 M9
Assignee | ||
Updated•17 years ago
|
Priority: -- → P4
Target Milestone: Firefox 3 M9 → Firefox 3 M10
Assignee | ||
Comment 14•17 years ago
|
||
Attachment #308034 -
Flags: review?(beltzner)
Attachment #308034 -
Flags: approval1.9?
Comment 15•17 years ago
|
||
Comment on attachment 308034 [details] [diff] [review]
strings patch (checked in)
only nits:
- "Use $BrandShortName as my default web browser"
also, I think that the checkbox should probably be aligned with the "Choose your..." label.
Other than that, looks great. You can make those changes at checkin.
Attachment #308034 -
Flags: review?(beltzner)
Attachment #308034 -
Flags: review+
Attachment #308034 -
Flags: approval1.9?
Attachment #308034 -
Flags: approval1.9+
Assignee | ||
Comment 16•17 years ago
|
||
Comment on attachment 308034 [details] [diff] [review]
strings patch (checked in)
Strings checked in to trunk
Checking in mozilla/browser/locales/en-US/installer/custom.properties;
/cvsroot/mozilla/browser/locales/en-US/installer/custom.properties,v <-- custom.properties
new revision: 1.15; previous revision: 1.14
done
Attachment #308034 -
Attachment description: strings patch → strings patch (checked in)
Attachment #308034 -
Attachment is obsolete: true
Assignee | ||
Comment 17•17 years ago
|
||
bah... forgot to make the string change in original checkin
Checking in mozilla/browser/locales/en-US/installer/custom.properties;
/cvsroot/mozilla/browser/locales/en-US/installer/custom.properties,v <-- custom.properties
new revision: 1.16; previous revision: 1.15
done
Comment 18•17 years ago
|
||
Maybe a spell check on param names... ;-)
SUMMARY_MAKE_DEAFULT
Comment 19•17 years ago
|
||
Since only the strings have landed, I'll correct the string name.
Keywords: checkin-needed
Comment 20•17 years ago
|
||
s/SUMMARY_MAKE_DEAFULT/SUMMARY_MAKE_DEFAULT/.
Checking in browser/locales/en-US/installer/custom.properties;
/cvsroot/mozilla/browser/locales/en-US/installer/custom.properties,v <-- custom.properties
new revision: 1.17; previous revision: 1.16
done
Keywords: checkin-needed
Updated•17 years ago
|
Flags: wanted-firefox3+
Assignee | ||
Comment 21•17 years ago
|
||
bah... the name isn't displayed and it is better to not make l10n have to modify it just for that. oh well
Comment 22•17 years ago
|
||
(In reply to comment #19)
> Since only the strings have landed, I'll correct the string name.
Yeah, it's just localizers' time. Let's waste it. How long could it take, anyway? A minute at most, right?
But there are 45 locales, so it's really 45 minutes that could have been spent on sth slightly more important, like testing... :(
Assignee | ||
Comment 23•17 years ago
|
||
Attachment #314483 -
Flags: review?(seth)
Assignee | ||
Comment 24•17 years ago
|
||
some cruft snuck in to the previous patch
Attachment #314483 -
Attachment is obsolete: true
Attachment #314485 -
Flags: review?(seth)
Attachment #314483 -
Flags: review?(seth)
Assignee | ||
Comment 25•17 years ago
|
||
Comment on attachment 314485 [details] [diff] [review]
patch rev2
note: I didn't bother with the checks since we ask if the app should be take its handlers before we know the install dir so we can't test against the install location
Assignee | ||
Comment 26•17 years ago
|
||
Comment on attachment 314485 [details] [diff] [review]
patch rev2
also requesting from mconnor in case he can review this
Attachment #314485 -
Flags: review?(mconnor)
Assignee | ||
Comment 27•17 years ago
|
||
Comment on attachment 314485 [details] [diff] [review]
patch rev2
also requesting from mconnor in case he has time to review this
Attachment #314485 -
Flags: review?(benjamin)
Assignee | ||
Updated•17 years ago
|
Whiteboard: [has patch][need review]
Comment 28•17 years ago
|
||
Comment on attachment 314485 [details] [diff] [review]
patch rev2
I'm no NSIS expert, but this looks correct to me.
Attachment #314485 -
Flags: review?(benjamin) → review+
Assignee | ||
Updated•17 years ago
|
Target Milestone: Firefox 3 beta2 → Firefox 3
Assignee | ||
Comment 29•17 years ago
|
||
Comment on attachment 314485 [details] [diff] [review]
patch rev2
Requesting a1.9. This patch uses the existing code for setting Firefox as the default browser and is pretty darn safe.
Also, Seth said he should be able to review the patch this afternoon so we will likely have a third set of eyes on it.
Attachment #314485 -
Flags: review?(mconnor) → approval1.9?
Assignee | ||
Updated•17 years ago
|
Whiteboard: [has patch][need review] → [has patch]
Updated•17 years ago
|
Attachment #314485 -
Flags: review?(seth) → review+
Updated•17 years ago
|
Attachment #314485 -
Flags: approval1.9? → approval1.9+
Assignee | ||
Comment 30•17 years ago
|
||
Attachment #277861 -
Attachment is obsolete: true
Assignee | ||
Comment 31•17 years ago
|
||
Assignee | ||
Comment 32•17 years ago
|
||
Thanks for the reviews Benjamin and Seth!
Checked in to trunk
Checking in mozilla/browser/installer/windows/nsis/installer.nsi;
/cvsroot/mozilla/browser/installer/windows/nsis/installer.nsi,v <-- installer.nsi
new revision: 1.42; previous revision: 1.41
done
Checking in mozilla/toolkit/mozapps/installer/windows/nsis/common.nsh;
/cvsroot/mozilla/toolkit/mozapps/installer/windows/nsis/common.nsh,v <-- common.nsh
new revision: 1.40; previous revision: 1.39
done
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Whiteboard: [has patch]
You need to log in
before you can comment on or make changes to this bug.
Description
•