The existing wallpaper from the New Tab page is removed if the "Not now" button from the Wallpaper Onboarding spotlight is clicked
Categories
(Firefox :: New Tab Page, defect, P1)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox125 | --- | unaffected |
| firefox126 | --- | affected |
| firefox127 | --- | affected |
People
(Reporter: mcoman, Unassigned)
References
Details
(Whiteboard: [hnt])
Attachments
(1 file)
|
1.91 MB,
image/gif
|
Details |
[Affected versions]:
- Firefox Beta 126.0b2 - Build ID: 20240417091940
- Firefox Nightly 127.0a1 - Build ID: 20240418214121
[Affected Platforms]:
- Windows 11 x64
- macOS 14.1
- Ubuntu 22.04 x64
[Prerequisites]:
- Have the following prefs in the "about:config" page:
browser.newtabpage.activity-stream.asrouter.devtoolsEnabledset totruebrowser.newtabpage.activity-stream.newtabWallpapers.enabledset totrue
- Have any wallpaper set to the new tab page.
[Steps to reproduce]:
- Open the browser using the profile from the prerequisites.
- Navigate to "about:asrouter" and paste sample JSON into a text field.
- Click the "Modify" button displayed near the text field from step 2.
- Click the "Not now" button from the bottom part of the spotlight.
- Open a new tab page and observe the background.
[Expected result]:
- Nothing happens. The existing wallpaper is still applied.
[Actual result]:
- No wallpaper is applied anymore.
[Additional Notes]:
- This issue is not reproducible if the spotlight is dismissed using the "Esc" key or the "X" button.
- Attached a screen recording of the issue.
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Comment 1•2 years ago
|
||
Same as https://bugzilla.mozilla.org/show_bug.cgi?id=1892461#c1 we should consider targeting experiment to users who don't have wallpaper pre-installed
Comment 2•2 years ago
|
||
Changing component for triage help from NewTab team thanks
Comment 3•6 days ago
|
||
I ran the nascent Triage Bot tool against this, and this was the result:
Summary
Bug 1892462 — the New Tab wallpaper is wiped when the user clicks "Not now" on the Wallpaper Onboarding Spotlight (but not when dismissing via Esc/X).
What I found. The Spotlight wallpaper picker changes the wallpaper purely through a generic SET_PREF action on browser.newtabpage.activity-stream.newtabWallpapers.wallpaper. In contrast, the theme picker in the same multistage framework has a real preview/revert path (AWGetSelectedTheme/AWSelectTheme + initialTheme + applyThemeIfNeeded + persistActiveTheme, wired through spotlight.js and AboutWelcomeChild.sys.mjs). Wallpaper has no such revert — so any button carrying a wallpaper SET_PREF commits it immediately and permanently, while a pure dismiss (Esc/X, no action) leaves it alone. That precisely explains the reported asymmetry.
Remediation is either message-level (decline button shouldn't set the wallpaper pref; target users without a wallpaper — matching pdahiya's comment), or a tree-code hardening that mirrors the theme preview/revert for wallpaper.
Confidence is medium: I localized the mechanism firmly in code, but the primary/simplest fix is at the experiment-message level (outside the tree), and the specific 2024 test message is no longer live.
Updated•6 days ago
|
Description
•