Closed Bug 1818141 Opened 2 years ago Closed 2 years ago

Search bar icon padding increased when not hovered

Categories

(Core :: XUL, defect)

Firefox 112
defect

Tracking

()

VERIFIED FIXED
112 Branch
Tracking Status
firefox-esr102 --- unaffected
firefox110 --- unaffected
firefox111 --- unaffected
firefox112 --- verified
firefox113 --- verified

People

(Reporter: Fanolian+BMO, Assigned: emilio)

References

(Regression)

Details

(Keywords: nightly-community, regression, reproducible)

Attachments

(3 files)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/112.0
Build ID: 20230221212648

Steps to reproduce

  1. Add search bar to toolbar.
  2. Hover the magnifying glass icon once.
  3. Cursor leaves the icon.

Actual result

(Please refer to the attached screenshot.)
Padding between magnifying glass icon and search term/placeholder increases. The icon which indicates an available search engine is not affected.
Search term snaps back every time the icon is hovered.

The bug is not exhibited if the icon has never been hovered after a restart.

Expected result

Search term position is consistent.
Perhaps align the padding size with that in address bar too.

Regression

https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=aaf2d377bba725efc48c85e146db733f46bd486a&tochange=07438d7c237247e41dc2482c7043f84f573abd07
This is regressed by bug 1815229.

Flags: needinfo?(emilio)
Has STR: --- → yes
Regressed by: 1815229

Otherwise we end up with a stale intrinsic size.

Assignee: nobody → emilio
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true

This shouldn't change behavior but reduces the amount of code paths
where we update the internal image state.

Depends on D170594

Flags: needinfo?(emilio)

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

Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/398f2f6246cf Update image when going from non-null to null XUL image request. r=tnikkel
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 112 Branch

Reprooducible on a 2023-02-21 Nightly build on Windows 10.
Verified as fixed on Firefox 112.0b5(build ID: 20230321175953) and Nightly 113.0a1(build ID: 20230323094537) on Windows 10, macOS 12, Ubuntu 22.

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

Attachment

General

Creator:
Created:
Updated:
Size: