Closed Bug 1918942 Opened 2 months ago Closed 2 months ago

Settings -> Search -> Default Search Engine dropdown menu contains ellipse

Categories

(Firefox :: Settings UI, defect, P1)

defect

Tracking

()

VERIFIED FIXED
132 Branch
Tracking Status
firefox-esr115 --- unaffected
firefox-esr128 --- unaffected
firefox130 --- unaffected
firefox131 --- unaffected
firefox132 --- verified
firefox133 --- verified

People

(Reporter: TYLin, Assigned: TYLin)

References

(Regression)

Details

(Keywords: regression)

Attachments

(3 files)

Filed per bug 1735589 Comment 19.

Steps to reproduce:

  1. Open Settings -> Search.
  2. Observe the "Default Search Engine" drop down menu.

Expected results:
The "Default Search Engine" drop down menu displays full text like "Google".

Actual results:
The dropmarker's width is larger that it used to be (17px). It was 12px. This makes "Default Search Engine" drop down menu contains ellipse, such as "Goo...". See https://bugzilla.mozilla.org/attachment.cgi?id=9424866

Some observations:
After my patch in bug 1735589, when a flex item gets its cross-size stretched to the flex container's cross-size, it will try to honor the image's aspect-ratio, and its cross-size (height) will transfer to its main-size (width). It appears that other dropmarkers (e.g. Settings -> General -> Default Zoom, and many others) are not affected, but I don't have enough knowledge to reason why only the Default Search Engine dropdown menu is affected.

A reasonable fix would be adding align-self: center to dropmarker, so its cross-size (height) won’t be stretched while keeping the icon centered vertically in its parent flex container.

Attached image Advanced fonts dialog

Size drop down are also affected in Advanced fonts dialog

Attached image Number of rows

Number of rows are also affected.

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

See bug 1918942 for an analysis. This patch prevents dropmarker's cross-size
from being stretched, restoring its size to the content size of
arrow-down-12.svg (12px x 12px).

Assignee: nobody → aethanyc
Status: NEW → ASSIGNED

(In reply to Ting-Yu Lin [:TYLin] (PDT, UTC-7) from comment #0)

... but I don't have enough knowledge to reason why only the Default Search Engine dropdown menu is affected.

It seems that the differentiator is whether align="center" is set on the menulist's markup or not.

Pushed by aethanyc@gmail.com: https://hg.mozilla.org/integration/autoland/rev/83fe0879b153 Make dropmarker center aligned in the cross-axis. r=desktop-theme-reviewers,emilio,dao
Severity: -- → S3
Priority: -- → P1
Status: ASSIGNED → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 132 Branch

Reproducible on a 2024-09-15 Firefox Nightly build on Windows 10.
Issue is verified as fixed on Firefox 132.0b2 and Firefox Nightly 133.0a1 on Windows 10, Ubuntu 22, macOS 14.

Status: RESOLVED → VERIFIED
Flags: qe-verify+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: