When only the search box is enabled in Firefox newtab, the Firefox logo is no longer displayed
Categories
(Firefox :: New Tab Page, defect, P1)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr68 | --- | unaffected |
firefox-esr78 | --- | unaffected |
firefox78 | --- | unaffected |
firefox79 | --- | unaffected |
firefox80 | --- | verified |
People
(Reporter: tspurway, Assigned: thecount)
References
(Regression)
Details
(Keywords: regression)
Attachments
(2 files)
STR:
- in a new profile (I have tested this in 78, 79, and 80, macOS) go to the preferences for newtab
- disable all sections except Search
- open a new tab
Expected:
A Firefox logo above the search bar
Found:
No logo
Reporter | ||
Updated•5 years ago
|
Updated•5 years ago
|
Assignee | ||
Comment 1•5 years ago
|
||
Assignee | ||
Comment 2•5 years ago
|
||
Regressed in https://bugzilla.mozilla.org/show_bug.cgi?id=1649883
What happened.
When we split the topstories pref into a user pref and a system pref, I initially had the system pref also return the state of the user pref. This had a bug, so the fix was to keep both prefs separate and check them in all cases, that's what the above regression bug fixed.
We missed a spot though where both values were not checked. This is because that check didn't directly check the pref value, but instead checked the enabled value of the feed, which is set via the system pref. This created a situation where the user pref was being ignored, and the pocket status was still "enabled". We actually want to check both system and user pref, and ignore the feed state for topstories.
My fix is to filter out the topstories entry in feeds, and then check for both topstories prefs, if either of them are not enabled, we consider pocket off.
To test:
- Go to about:preferences#home
- Disable everything ceptsearch
- open a newtab
Expected: You should see a search input and a firefox logo.
Comment 4•5 years ago
|
||
bugherder |
Updated•5 years ago
|
Comment 5•5 years ago
|
||
I have verified that this issue is no longer reproducible with the latest Firefox Nightly (80.0a1 Build ID - 20200722215545) installed, on Windows 10 x64, Ubuntu 18.04 x64 and Mac 10.15. Now, the Firefox logo is successfully displayed on the New Tab page after all the sections except the in-content search bar are dismissed.
Description
•