Closed Bug 1795986 Opened 2 years ago Closed 2 years ago

URL bar buttons too short in compact mode after bug 1790616

Categories

(Firefox :: Theme, defect, P3)

Desktop
All
defect

Tracking

()

RESOLVED FIXED
108 Branch
Tracking Status
firefox-esr102 --- unaffected
firefox106 --- unaffected
firefox107 --- unaffected
firefox108 --- fixed

People

(Reporter: sam, Assigned: sam)

References

(Regression)

Details

(Keywords: regression)

Attachments

(2 files)

See attached screenshot. Buttons at the end of the toolbar are a little bit too short now, so they aren't aligned correctly.

Regressed by: 1790616

Can't seem to edit the initial comment:

  • This is regarding buttons at the end of the URL bar, not the end of the toolbar (words are hard!)
  • This happens for compact density only

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

For more information, please visit auto_nag documentation.

Flags: needinfo?(emilio)

I don't see this on Linux, on which OS did that happen?

I suspect given the state of compact mode this is not super prioritary but still happy to look into it if I can repro...

Flags: needinfo?(emilio) → needinfo?(sam)
Summary: URL bar buttons too short after bug 1790616 → URL bar buttons too short in compact mode after bug 1790616

This was observed on macOS.

Flags: needinfo?(sam)
Severity: -- → S4
Priority: -- → P3

I've investigated this a bit, and it turns out that the issue isn't the buttons-- on macOS, the larger urlbar text is now increasing both the urlbar and toolbar height by 2px versus other platforms, which also causes the searchbar to be a different height than the urlbar.

It seems that removing the line-height rule added by bug 1402368 resolves this issue. I did some testing with the repro links from that bug, and as far as I can tell urlbar behavior has changed since that bug, so the issue that was being worked around no longer occurs in the first place.

I'll put up a patch with the fix.

Modern flexbox increased the macOS compact mode toolbar height by 2px due to a line-height rule from bug 1402368. The issue from that bug no longer reproduces on current Nightly, even without the added rule, so it seems safe to remove.

There was also some extra spacing introduced with Proton that should have been only applied to the search "go" button, so I scoped that more tightly and also fixed the alignment of that button while at it.

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

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

Pushed by itiel_yn8@walla.com:
https://hg.mozilla.org/integration/autoland/rev/12125609df3b
Fix compact mode urlbar icon alignment and macOS toolbar height r=desktop-theme-reviewers,dao,Gijs,Itiel
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 108 Branch
QA Whiteboard: [qa-108b-p2]

I installed on Mac 10.13, FF build 108.0a1(20221017213658) and I see no difference between this build and release build 108.0(20221205155917) regarding the two buttons. Is there a way I can check the fix? Or can you please confirm issue is fixed on your side on latest 108.0 build? thank you so much.

Flags: needinfo?(sam)

I think the first build that contained the regression was 20221018094831.

Flags: needinfo?(sam)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: