Closed
Bug 920236
Opened 11 years ago
Closed 11 years ago
Add a pref to display a page on first run after install/upgrade
Categories
(Firefox for Metro Graveyard :: Install/Update, defect, P2)
Tracking
(firefox28 verified, firefox29 verified)
VERIFIED
FIXED
Firefox 29
People
(Reporter: mbrubeck, Assigned: rsilveira)
References
Details
(Whiteboard: [beta28] p=1)
Attachments
(1 file, 3 obsolete files)
1.85 KB,
patch
|
rsilveira
:
review+
lsblakk
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
In order to implement our first-run experience (bug 916326), we need to add some code and prefs similar to desktop Firefox to open a URL in a tab on first run.
Updated•11 years ago
|
Whiteboard: [preview] feature=work [shovel-ready] → [shovel-ready] feature=work
Comment 1•11 years ago
|
||
Since bug 916326 is set to [block28], I thought I'd take a look at this one.
It seems like most of the code to do this is already there except for some reason the line with '#expand' was not working. We could also do separate checks for "new profile" and "new version" if we want to have separate start pages in each case.
Attachment #833031 -
Flags: feedback?(mbrubeck)
Reporter | ||
Comment 2•11 years ago
|
||
Comment on attachment 833031 [details] [diff] [review]
WIP: Show a 'first run' or 'upgrade' page
Looks good. We'll probably use just "new profile" for now, and "new version" if we create a special upgrade page in the future. We'll need to work with Yuan and/or webdev or SUMO to figure out what the URL will be for the first-run page.
Attachment #833031 -
Flags: feedback?(mbrubeck) → feedback+
Updated•11 years ago
|
Blocks: metrov1backlog
Priority: -- → P2
Summary: Work - Add a pref to display a page on first run after install/upgrade → Add a pref to display a page on first run after install/upgrade
Whiteboard: [shovel-ready] feature=work → [beta28] p=0
Comment 3•11 years ago
|
||
Did we ever sort out what the first run url should be? Is this bug actionable yet? Marina, do you still want this one?
Assignee | ||
Comment 4•11 years ago
|
||
Same patch setting first run page to "about:start?firstrun".
Assignee: nobody → rsilveira
Attachment #833031 -
Attachment is obsolete: true
Updated•11 years ago
|
Status: NEW → ASSIGNED
QA Contact: jbecerra
Whiteboard: [beta28] p=0 → [beta28] p=1
Assignee | ||
Comment 7•11 years ago
|
||
Switched to about:newtab?firstrun
Attachment #8347532 -
Attachment is obsolete: true
Attachment #8349609 -
Flags: review?(mbrubeck)
Reporter | ||
Comment 8•11 years ago
|
||
Comment on attachment 8349609 [details] [diff] [review]
Patch v1
Review of attachment 8349609 [details] [diff] [review]:
-----------------------------------------------------------------
r=mbrubeck with a possible change:
::: browser/metro/components/BrowserCLH.js
@@ +222,5 @@
> // Default to the saved homepage
> let defaultURL = getHomePage();
>
> + // Show page for first run or upgrade.
> + if (needHomepageOverride() != "none") {
Maybe we should do this only if (needHomepageOverride() == "new profile"), so that we don't show the firstrun page after every version upgrade.
That's assuming that it will return "new profile" the first time Metro Firefox runs, even in an existing desktop Firefox profile. I think that's the case but I haven't tested it.
Attachment #8349609 -
Flags: review?(mbrubeck) → review+
Assignee | ||
Comment 9•11 years ago
|
||
changed to using needHomepageOverride() == "new profile". Tested it and works fine even with a populated desktop profile.
Attachment #8349609 -
Attachment is obsolete: true
Attachment #8349778 -
Flags: review+
Assignee | ||
Comment 10•11 years ago
|
||
Comment 11•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 29
Assignee | ||
Comment 12•11 years ago
|
||
Comment on attachment 8349778 [details] [diff] [review]
Patch v2
[Approval Request Comment]
Bug caused by (feature/regressing bug #): No regression, triggers first run experience in bug 941284.
User impact if declined: Low, first run experience will not be enabled.
Testing completed (on m-c, etc.): yes.
Risk to taking this patch (and alternatives if risky): Very low, metro change only.
String or IDL/UUID changes made by this patch: None.
Attachment #8349778 -
Flags: approval-mozilla-aurora?
Updated•11 years ago
|
Attachment #8349778 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Reporter | ||
Comment 13•11 years ago
|
||
status-firefox28:
--- → fixed
Updated•11 years ago
|
status-firefox29:
--- → fixed
Comment 14•11 years ago
|
||
Verified as fixed for iteration #21, with latest Nightly and Aurora on Win 8 64-bit and 32-bit: after install/upgrade, the "about:start?firstrun" page is displayed.
Updated•11 years ago
|
OS: Windows 8 Metro → Windows 8.1
You need to log in
before you can comment on or make changes to this bug.
Description
•