Home and newtab post v1 we'll need a single pref
Categories
(Firefox :: New Tab Page, enhancement)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox140 | --- | verified |
People
(Reporter: thecount, Assigned: nina-py)
References
(Blocks 1 open bug, Regressed 1 open bug)
Details
(Whiteboard: [hnt])
Attachments
(1 file)
Right now when we set the wallpaper in v1 we use 2 prefs, and for v2 we set both those prefs the same to keep it simple.
When we remove v1 and consolidate it with v2, we'll want 1 pref.
I think we should consider setting that pref now for v2, even if we're not using it, so when we remove the v1 set of prefs, we don't break it for existing users that set it in v2.
I suspect this is just a matter on deciding on the post v1 pref name, and setting it now when we set the others and keep them in sync. So when we remove the other prefs, we can fully switch to the post v1 single pref and not need to worry about migration.
Updated•2 years ago
|
| Reporter | ||
Updated•2 years ago
|
| Assignee | ||
Updated•1 year ago
|
| Assignee | ||
Comment 1•1 year ago
|
||
Decision made: consolidate the two existing wallpaper prefs:
browser.newtabpage.activity-stream.newtabWallpapers.enabledbrowser.newtabpage.activity-stream.newtabWallpapers.v2.enabled
into one (the first one) as with v1 removal referring in the code to v2 is not necessary.
^^^ Taken from review feedback from a related patch on removing dark/light prefs: https://phabricator.services.mozilla.com/D237679
| Assignee | ||
Comment 2•1 year ago
|
||
-
Updated New Tab wallpaper code to only use
browser.newtabpage.activity-stream.newtabWallpapers.enabledpref for turning the wallpapers on and off. -
Removed usage of
browser.newtabpage.activity-stream.newtabWallpapers.v2.enabled.
Comment 4•1 year ago
|
||
| bugherder | ||
Comment 5•1 year ago
|
||
I have verified this enhancement using the latest Firefox Nightly 140.0a1 (Build ID: 20250520213629) installed on Windows 10 x64, macOS 15.4.1, and Ubuntu 24.04 x64. I can confirm the following:
- The
browser.newtabpage.activity-stream.newtabWallpapers.v2.enabledpref is no longer displayed in the "about:config" page. - The
browser.newtabpage.activity-stream.newtabWallpapers.v2.enabledpref is displayed in the "about:config" page.
Description
•