Closed Bug 1938443 Opened 1 month ago Closed 25 days ago

Address bar has no spacing between the "switch to tab" badge and the URL, with Unified Search Button (scotch bonnet) enabled

Categories

(Firefox :: Address Bar, defect, P1)

defect

Tracking

()

VERIFIED FIXED
135 Branch
Tracking Status
firefox-esr128 --- unaffected
firefox133 --- unaffected
firefox134 --- unaffected
firefox135 --- verified

People

(Reporter: dholbert, Assigned: daisuke)

References

(Blocks 1 open bug, Regression)

Details

(Keywords: regression, Whiteboard: [sng-scotchbonnet])

Attachments

(3 files)

Attached image screenshot of bug

STR:

  1. Visit https://example.org/
  2. Open a new tab and type "example"
  3. Press downarrow to focus the Firefox Suggest suggestion to switch-to-tab.
  4. Look at your URL bar.

EXPECTED RESULTS:
There should be some space between the right edge of the Switch to tab: badge and the URL itself (the leading "h" character)

ACTUAL RESULTS:
There's no space between them; the rightmost pixel of the badge is directly adjacent to the leftmost (antialiased) pixel of the "h" in the URL.

Notes:

  • After reproducing the bug, if I press Ctrl to hide the Switch-to-tab badge (so that the address bar just shows the unified-search-button and the URL), then I get expected-results in that context -- there's space to the left of the "h".
  • If I set browser.urlbar.scotchBonnet.enableOverride to false, I get EXPECTED RESULTS. Interestingly, the URL remains in precisely the same pixel location (as you can see in upcoming screenshots if you open them in side-by-side tabs and compare back and forth); but the buttons to the left of the URL just get a bit skinnier which leaves a reasonable amount of space.

This is a regression, with regression range:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=84e4d86608d2fac91800141895688f119864d005&tochange=5c927e89451bcf64289953bc6e478bfe3197cb3a

In Nightly builds before that range, the "switch to tab" button is to the left of the unified-search-button, and there's no spacing between those two buttons (which is maybe just a version of the same underlying problem, moved to a different location). But I'm considering builds before that^ range "good" from the perspective of "is the URL itself preceded by some spacing" [it is].

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

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

For more information, please visit BugBot documentation.

(In reply to Daniel Holbert [:dholbert] from comment #2)

This is a regression, with regression range:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=84e4d86608d2fac91800141895688f119864d005&tochange=5c927e89451bcf64289953bc6e478bfe3197cb3a

In Nightly builds before that range, the "switch to tab" button is to the left of the unified-search-button

that was a bug, bug 1928132 fixed that, but there's some spacing adjustment to make

Severity: -- → S3
Priority: -- → P1
Whiteboard: [sng-scotchbonnet]
Assignee: nobody → daisuke
Status: NEW → ASSIGNED
Flags: needinfo?(daisuke)
Pushed by dakatsuka.birchill@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/4f858bf1dd20 Add margin between identity box and input field r=dao,daleharvey
Status: ASSIGNED → RESOLVED
Closed: 25 days ago
Resolution: --- → FIXED
Target Milestone: --- → 135 Branch

Reproducible on a 2024-12-19 Nightly build on Windows 10.
Verified as fixed on Firefox Nightly 135.0a1 on Windows 10, Ubuntu 22, macOS 14.

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

Attachment

General

Created:
Updated:
Size: