Closed Bug 1471243 Opened 6 years ago Closed 6 years ago

The New Tab Page is briefly displayed before the about:welcome page when a new Beta profile is opened

Categories

(Firefox :: New Tab Page, defect, P1)

62 Branch
defect

Tracking

()

VERIFIED FIXED
Firefox 63
Iteration:
63.2 - July 23
Tracking Status
firefox-esr52 --- unaffected
firefox-esr60 --- unaffected
firefox61 --- unaffected
firefox62 --- wontfix
firefox63 --- verified

People

(Reporter: cmuresan, Assigned: ahillier)

References

Details

(Keywords: regression)

Attachments

(3 files)

[Affected versions]:
- Firefox Beta v62.0b3, Build ID 20180625141512

[Affected Platforms]:
- All Windows
- All Mac
- All Linux

[Steps to reproduce]:
1. Create a new Firefox profile.
2. Start the browser with the new profile and observe the behavior.

[Expected results]:
- The "about:welcome" page is displayed as soon as the browser starts.

[Actual results]:
- The "about:newtab" page is briefly displayed before the "about:welcome" one.

[Notes]:
- The issue is not reproducible on slower machines.
- This issue is not reproducible on Nightly because the about:welcome page is not set as the first run page.
- Attached a screen recording of the issue: https://goo.gl/J3amc9.
Assignee: nobody → ahillier
Iteration: --- → 63.1 - July 9
Priority: -- → P1
Iteration: 63.1 - July 9 → 63.2 - July 23
There are two components to this. The GitHub PR uses CSS to hide ActivityStream while the startup overlay is rendered, which fixes the problem as long as the page is not prerendered. The MC patch disables prerendering for about:welcome. The changes are independent of each other and don't have to land at the same time, or in a particular order.
Comment on attachment 8991105 [details]
Bug 1471243 - Do not prerender ActivityStream for about:welcome

https://reviewboard.mozilla.org/r/256094/#review263138

::: browser/components/newtab/aboutNewTabService.js:195
(Diff revision 1)
> +   * Returns the about:welcome URL
> +   *
> +   * This is calculated in the same way the default URL is, except that we don't
> +   * allow prerendering.
> +   */
> +  get welcomeURL() {

This is a little brittle but I don't really see a way around it without significant refactoring. The tests are a good compromise
Attachment #8991105 - Flags: review?(khudson) → review+
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Blocks: 1474338
Pushed by khudson@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/1d78b255d77b
Do not prerender ActivityStream for about:welcome r=k88hudson
(In reply to Pulsebot from comment #6)
> Pushed by khudson@mozilla.com:
> https://hg.mozilla.org/integration/autoland/rev/1d78b255d77b
> Do not prerender ActivityStream for about:welcome r=k88hudson

k88hudson: will not pre-rendering AS impact how quickly AS loads after a user finishes up with about:welcome or clicks the skip button? Having AS completely loaded and ready to be displayed after about:welcome was one of the tangible benefits that we could see with about:welcome. Thanks
Flags: needinfo?(khudson)
In this case, not pre-rendering should have no effect on how quickly the rest of new tab can load since the page is able to continue to load in the background while the overlay is visible; pre-rendering just incorrectly flashes the white page with search / placeholders before the overlay is able to load.
Flags: needinfo?(khudson)
(In reply to Kate Hudson :k88hudson from comment #8)
> In this case, not pre-rendering should have no effect on how quickly the
> rest of new tab can load since the page is able to continue to load in the
> background while the overlay is visible; pre-rendering just incorrectly
> flashes the white page with search / placeholders before the overlay is able
> to load.

Makes sense and just wanted to clarify. Thanks!
Commit pushed to master at https://github.com/mozilla/activity-stream

https://github.com/mozilla/activity-stream/commit/ecc4456e4cdfcb0acc1fec34bd656978f4ca9658
fix(styles): Use longhand background to avoid replacing themed background-color (#4239)

Followup Bug 1471243 to fix browser_ext_themes_ntp_colors.js mochitest failure.
Is this something we want to fix in 62?
Flags: needinfo?(ahillier)
Bryan is it a problem from a UX perspective if we have about:welcome in 62 without this fix?
Flags: needinfo?(ahillier) → needinfo?(bbell)
I have verified that the issue is no longer reproducible on the latest Nightly build (63.0a1, 20180718220144) on Windows 10 x64, Mac 10.13.5 and Arch Linux x64.
Status: RESOLVED → VERIFIED
Adam, this bug appears to be stuck. Did you hear back from Bryan about uplifting to 62? Time's running short in the cycle.
Flags: needinfo?(ahillier)
Yeah, time is running out and about:welcome as-is is on the train for a Fx62 release.
Sorry about the delay, it's safe to say we won't be requesting uplift for this. Thanks.
Flags: needinfo?(bbell)
Flags: needinfo?(ahillier)
Component: Activity Streams: Newtab → New Tab Page
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: