Closed Bug 2032196 Opened 29 days ago Closed 24 days ago

Search mode switcher no longer respects density settings

Categories

(Firefox :: Address Bar, defect, P3)

Firefox 151
defect

Tracking

()

VERIFIED FIXED
152 Branch
Tracking Status
firefox-esr140 --- unaffected
firefox149 --- unaffected
firefox150 --- unaffected
firefox151 --- verified
firefox152 --- verified

People

(Reporter: sam, Assigned: sam)

References

(Blocks 1 open bug, Regression)

Details

(Keywords: regression, Whiteboard: [sng])

Attachments

(2 files)

After bug 1998985, the search mode switcher no longer respects density settings (such as compact mode) and uses the same sizing for each density. This results in a somewhat comically large menu for users of compact mode.

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

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

For more information, please visit BugBot documentation.

Flags: needinfo?(mbeier)
Severity: -- → S4
Depends on: 1826841
Priority: -- → P3

This will probably be redone by bug 1826841, but this patch prevents regressing the compact density in 151 by using existing appropriate density-aware variables. With normal density, these variables have the same values that were already set here, so there is no visual change.

Assignee: nobody → sam
Status: NEW → ASSIGNED
Pushed by dgottwald@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/55475eb58481 https://hg.mozilla.org/integration/autoland/rev/4446ec23bd67 Use density-aware variables for search mode switcher padding. r=urlbar-reviewers,desktop-theme-reviewers,dao
Whiteboard: [sng]
Blocks: 2010269
Status: ASSIGNED → RESOLVED
Closed: 24 days ago
Resolution: --- → FIXED
Target Milestone: --- → 152 Branch

This will probably be redone by bug 1826841, but this patch prevents regressing the compact density in 151 by using existing appropriate density-aware variables. With normal density, these variables have the same values that were already effective here, so there is no visual change.

Original Revision: https://phabricator.services.mozilla.com/D294860

Attachment #9571892 - Flags: approval-mozilla-beta?

firefox-beta Uplift Approval Request

  • User impact if declined/Reason for urgency: Compact density users will experience a much larger menu than expected.
  • Code covered by automated testing?: yes
  • Fix verified in Nightly?: yes
  • Needs manual QE testing?: no
  • Steps to reproduce for manual QE testing:
  • Risk associated with taking this patch: low
  • Explanation of risk level: Minor CSS changes
  • String changes made/needed?: none
  • Is Android affected?: no
QA Whiteboard: [search] [qa-triage-done-c152/b151][qa-ver-needed-c152/b151]

(In reply to Phabricator Automation from comment #6)

  • Code covered by automated testing?: yes

I don't think that's true?

  • Fix verified in Nightly?: yes
  • Needs manual QE testing?: no

Not formally verified yet, but I see it's on QA's radar.

  • Steps to reproduce for manual QE testing:

In about:config, change browser.uidensity to 1, then open the search mode switcher.

Flags: needinfo?(mbeier) → qe-verify+
Attachment #9571892 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
No longer depends on: 1826841
QA Whiteboard: [search] [qa-triage-done-c152/b151][qa-ver-needed-c152/b151] → [search] [qa-triage-done-c152/b151][uplift][qa-ver-needed-c152/b151]

Reproducible on a 2026-04-15 Firefox Nightly build on Windows 10.

Verified as fixed on Firefox Nightly 152.0a1 and Firefox 151.0.b1-build2 on Windows 10, Ubuntu 22, macOS 15.

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

Attachment

General

Creator:
Created:
Updated:
Size: