Closed Bug 2019296 Opened 6 months ago Closed 6 months ago

Default font option disappears from Fonts dropdown after reverting selection

Categories

(Firefox :: Settings UI, defect)

Firefox 149
Desktop
All
defect

Tracking

()

VERIFIED FIXED
150 Branch
Tracking Status
firefox-esr115 --- unaffected
firefox-esr140 --- unaffected
firefox148 --- unaffected
firefox149 --- verified
firefox150 --- verified

People

(Reporter: sbadau, Assigned: fterdal)

References

(Regression)

Details

(Keywords: regression)

Attachments

(3 files)

Found in

  • Nightly 150

Affected versions

  • Nightly 150.0a1
  • Firefox 149.0b1

Tested platforms

  • Affected platforms: Windows 11, Ubuntu 24.04, macOS 15

Steps to reproduce

  1. Navigate to about:preferences#general
  2. Scroll to the Fonts section
  3. Change the Default font - e.g. to Cambria
  4. Change the Default font back to the original default value.

Expected result

  • The Default font should be restored and remain visible and selectable in the Fonts dropdown.

Actual result

  • The Default font disappears from the Fonts dropdown, leaving the selection empty. For more details, please see the screen recording.

Regression range

  • This appears to be a regression as it is not reproducible in Firefox 148. I'll look for a regression as soon as possible.

:fterdal, since you are the author of the regressor, bug 1972365, could you take a look? Also, could you set the severity field?

For more information, please visit BugBot documentation.

Flags: needinfo?(fterdal)

Thanks for catching this, I'll take a look at this now.

Flags: needinfo?(fterdal)
Severity: -- → S2

I can reproduce the bug locally. To clarify: what I'm seeing is that the only two fonts affected are the default fonts for any given language group, e.g. Default (Times) and Default (Helvetica) for Latin and Default (AppleMyungjo) and Default (Apple SD Gothic Neo) for Korean.

If I change the font to Arial, then to Georgia, then back to Arial, the Arial font is still displayed correctly. But if I change to Default (Times) then to Arial, then back to Default (Times), the font renders very briefly, then disappears.

Assignee: nobody → fterdal
Status: NEW → ASSIGNED

For clarification, is the issue that the default font option doesn't render in that drop down element? Or is it that, when changing the font to a non-default font, then changing it back to the default, the reverting back to the default font doesn't cause an update in the Firefox UI? If it's the first issue, I don't think this is an S2 and is more likely an S3 or an S4. However, if it is the second issue, where the Firefox UI doesn't render with the default font, then yeah that's probably more of an S2/S3.

Did a quick check and even though the default option disappears from the select element, the selected default font is still correctly rendering on webpages...so definitely doesn't appear to be an S2 issue in my opinion.

Severity: S2 → S3

Sounds good, bumping it down to an S3 for now, happy to make it an S4 if we think that's more appropriate

Status: ASSIGNED → RESOLVED
Closed: 6 months ago
Resolution: --- → FIXED
Target Milestone: --- → 150 Branch

Verified as fixed on using the latest Nightly 150.0a1 on Windows 11, Ubuntu 24.04 and macOS 15 - the Default font option does not disappear anymore from the Fonts dropdown.

firefox-beta Uplift Approval Request

  • User impact if declined: This fixes a relatively small, but still significant visual bug in the "Fonts" section of about:preferences. It could be confusing for users if they try to change their font back to the default option only to have the option appear blank - it might make them think something went wrong even though the change worked as expected.
  • Code covered by automated testing: yes
  • Fix verified in Nightly: yes
  • Needs manual QE test: yes
  • Steps to reproduce for manual QE testing: 1. go to about:preferences and scroll down to the "Fonts" section
  1. switch the font from the default option to another option
  2. switch back to the default option
  3. the label for the default option should stay legible (as opposed to being an empty string)
  • Risk associated with taking this patch: low
  • Explanation of risk level: This is a relatively small change fixing a bug that was introduced in Beta
  • String changes made/needed: No
  • Is Android affected?: no
Attachment #9549173 - Flags: approval-mozilla-beta?
Flags: qe-verify+
Attachment #9549173 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
QA Whiteboard: [S3][QA-4883][qa-found-in-c150] → [S3][QA-4883][qa-found-in-c150][qa-ver-needed-c150/b149][uplift]
QA Contact: sbadau

Verified as fixed using Firefox 149.0b4 on Windows 11, Ubuntu 24.04 and macOS 15 - the Default font option does not disappear anymore from the Fonts dropdown.

Status: RESOLVED → VERIFIED
QA Whiteboard: [S3][QA-4883][qa-found-in-c150][qa-ver-needed-c150/b149][uplift] → [S3][QA-4883][qa-found-in-c150][qa-ver-done-c150/b149][uplift]
Flags: qe-verify+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: