Open Bug 2056499 Opened 4 months ago Updated 19 days ago

Making Firefox Default from the Home and Startup section will only change the message after a page refresh

Categories

(Firefox :: Settings UI, defect)

Desktop
All
defect

Tracking

()

Tracking Status
firefox-esr115 --- unaffected
firefox-esr140 --- unaffected
firefox-esr153 --- wontfix
firefox153 --- wontfix
firefox154 --- wontfix
firefox155 --- wontfix

People

(Reporter: atrif, Unassigned, NeedInfo)

References

(Blocks 1 open bug, Regression)

Details

(Keywords: regression)

Attachments

(1 file)

Attached image default.gif —

Found in

  • 154.0b1

Affected versions

  • 155.0a1 (2026-07-20)
  • 154.0b1
  • 153

Tested platforms

  • Affected platforms: Windows 11, macOS 14 aarch
  • Unaffected platforms: none

Preconditions

  • ensure that Firefox is not the default browser

Steps to reproduce

  1. Open Settings and click on the Home and startup section.
  2. Make Firefox the default browser.

Expected result

  • The message is changed to show that Firefox is the default browser.

Actual result

  • The message is not changed without a page refresh.

Regression range

  • This happens with settings redesign enabled. Will search for one asap to be sure.

Additional notes

  • Attached a screen recording.
  • This works with the settings redesign disabled or if Firefox is made the default from the Account and sync section.

:hjones, could you take a look? Claude "thinks" Bug 1975761 is the regressor

Claude provided the following analysis:

Likely regressor

4af15eebc273 — Bug 1975761 – Part 2 "generate home and startup page from config" (Hanna Jones, 2026-02-24,
r=mstriemer,fluent-reviewers,bolsson).

That's the commit that added the defaultBrowserHome group to the redesigned Home & Startup page
(browser/components/preferences/config/home-startup.mjs:32 and preferences.js:343), exposing the "Make Firefox Default"
affordance under the #home hash. It did not extend the poll allowlist in DefaultBrowserHelper (then in main.js) to include
#home, so the UI wiring has been missing since that patch landed. That matches the reporter's "affects 153/154/155"
observation — the group has been shipping since Fx 153.

A neighbouring landing set the precedent that the allowlist must be updated for each new location of the affordance: Bug
2049877 Part 2 (867b99993b15, Mike Conley) explicitly added "#browserIcon" when the icon sub-pane was added — "Also
recognizes the browserIcon sub-pane in the poll gate so it stays live there." The same treatment was needed for #home and
never happened.

Fix

Trivially, add "#home" to the allowlist in DefaultBrowserHelper.mjs:99-104. Longer-term, replace the hash-string allowlist
with something derived from the config-driven pane registry — every pane that contains a defaultBrowser* group should be
polled automatically, so we don't repeat this the next time a new placement appears.

Flags: needinfo?(hjones)
Regressed by: 1975761

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

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

Attachment

General

Created:
Updated:
Size: