Closed Bug 1942389 Opened 1 month ago Closed 1 month ago

"Sponsored stories" tickbox is visible and looks toggle-able when "Recommended stories" is turned off (but can't actually be toggled)

Categories

(Firefox :: New Tab Page, defect)

Desktop
macOS
defect

Tracking

()

RESOLVED FIXED
136 Branch
Tracking Status
firefox-esr128 --- unaffected
firefox134 --- unaffected
firefox135 --- fixed
firefox136 --- fixed

People

(Reporter: Gijs, Assigned: hjones)

References

(Regression)

Details

(Keywords: regression)

Attachments

(2 files)

Attached image Screenshot

On Firefox 128 this checkbox disappears if you turn off "recommended stories".

On current beta and nightly, it stays visible, and if you click it the active state makes the checkbox bigger (!?) but ultimately it does not toggle. It shouldn't look enabled if it's disabled, and perhaps shouldn't be visible at all if it can't be toggled unless the "parent" toggle is turned on.

Spotted on macOS, not sure if this happens on all platforms but I suspect so.

Looks like this broke in bug 1917305. Hanna, I'm guessing this wasn't planned/designed? I suspect there's some activity-stream CSS that's overriding the right styles, or something.

Flags: needinfo?(hjones)
Regressed by: 1917305

Set release status flags based on info from the regressing bug 1917305

Assignee: nobody → hjones
Status: NEW → ASSIGNED

FYI, we're building the Fx135 RC on Monday, so this will need to land and get an uplift request ASAP if you wanted to avoid shipping this bug.

Pushed by hjones@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/db84093cedcf fix the hiding/showing of nested fields in the ContentSection r=home-newtab-reviewers,mconley

Comment on attachment 9460570 [details]
Bug 1942389 - fix the hiding/showing of nested fields in the ContentSection r=#home-newtab-reviewers

Beta/Release Uplift Approval Request

  • User impact if declined/Reason for urgency: We'll introduce the issue described in Bug 1942389 - "Sponsored stories" tickbox is visible and looks toggle-able when "Recommended stories" is turned off (but can't actually be toggled) into release
  • Is this code covered by automated tests?: No
  • Has the fix been verified in Nightly?: No
  • Needs manual test from QE?: Yes
  • If yes, steps to reproduce: 1. Open the Home/New Tab Page
  1. click the "settings" icon button in the top right hand corner of the page to open the settings drawer
  2. Toggle either "Shortcuts" or "Recommended Stories" off (these may be locale dependent). If the toggles are on/blue they should have indented form fields/inputs nested beneath them.
  3. Verify that the nested/dependent checkboxs and other form fields below the toggle get hidden
  4. Flip the toggle back to on
  5. Verify that the nested/dependent fields are now shown
  • List of other uplifts needed: None
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): The bug was essentially introduced via a typo - this is just restoring the behavior we had before.
  • String changes made/needed: No
  • Is Android affected?: No
Flags: needinfo?(hjones)
Attachment #9460570 - Flags: approval-mozilla-beta?
Flags: qe-verify+
Status: ASSIGNED → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 136 Branch

Comment on attachment 9460570 [details]
Bug 1942389 - fix the hiding/showing of nested fields in the ContentSection r=#home-newtab-reviewers

Approved for 135.0rc1.

Attachment #9460570 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
QA Whiteboard: [qa-triaged]

Looks to have regressed a sub-test of TART by 1%-3%. .
Please note that this sub-test is tagged to NOT create perf alert, and no action is required. This comment is only a FYI.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: