Closed Bug 1695022 Opened 3 years ago Closed 3 years ago

Regression: Megabar Resultlist Text is 1px too far right and no longer aligned with Address Bar Text

Categories

(Firefox :: Address Bar, defect, P2)

defect

Tracking

()

VERIFIED FIXED
88 Branch
Tracking Status
firefox-esr78 --- unaffected
firefox86 --- unaffected
firefox87 --- wontfix
firefox88 --- verified

People

(Reporter: mehmet.sahin, Assigned: mak)

References

(Blocks 1 open bug, Regression)

Details

(Keywords: regression, Whiteboard: [proton-address-bar])

Attachments

(3 files)

Attached image Bug_in_Nightly.png

Nightly 88.0a1 (2021-02-25) (64-Bit)
MacBookAir M1

  1. Type Something into the Address Bar
    2.) Compare the textposition of Address Bar with Resultlist

Actual: Megabar Resultlist Text is 1px too far right and no longer aligned with Address Bar Text

Expected: Megabar Resultlist Text should be moved 1px too the left to be aligned again with Address Bar Text

This is a recent regression.

Attached image Expected.png

"Expected result" screenshot from FF86.

This is almost definitely the result of bug 1691544. Could someone please verify?

QA Whiteboard: [qa-regression-triage]
Severity: -- → S3
Keywords: regression
Priority: -- → P2

I did twice the regression range and both times it got me here: Pushlog

Bug 1596897 - Updated tests for decoupled permissions panel. r=johannh,remote-protocol-reviewers

Differential Revision: https://phabricator.services.mozilla.com/D99893

Could this be the one? Harry mentioned that bug 1691544 may be, but the regression range got me twice to Bug 1596897.
Please let me know if I can help with anything else.

Thanks Catalin! It definitely could have been bug 1596897. That bug changed the spacing in the identity box. It also changed some CSS variables used in urlbarView.inc.css, which could have caused the problem in this bug.

Regressed by: 1596897
Has Regression Range: --- → yes

This will be fixed in bug 1691545.

Depends on: 1691545

(In reply to Harry Twyford [:harry] from comment #5)

This will be fixed in bug 1691545.

Nice, thanks!

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

(In reply to Harry Twyford [:harry] from comment #5)

This will be fixed in bug 1691545.

Bug 1691545 is fixed, but this bug is still alive in latest Nightly 88.0a1 (2021-03-08) (64-Bit)

Hm, it seems to still be off by 1 px also after my patch in bug 1696628.

the problem is apparently

#identity-box[pageproxystate="invalid"] {
  margin-inline-end: calc(var(--identity-box-margin-inline) + 2px);
}

and

.urlbarView-favicon {
  margin-inline-end: calc(var(--urlbar-icon-padding) + var(--identity-box-margin-inline)));
}

in non-proton it should be

.urlbarView-favicon {
  margin-inline-end: calc(var(--urlbar-icon-padding) / 2 + var(--identity-box-margin-inline) + 2px));
}

tracking with the proton project. Even if it's a regression in Nightly, it was due to Proton work.

Assignee: nobody → mak
Status: NEW → ASSIGNED
Whiteboard: [proton-address-bar]

let's pick bug 1696628 first, that is clarifying some calculations and it'd be useful to have it in.

Depends on: 1696628
Pushed by mak77@bonardo.net:
https://hg.mozilla.org/integration/autoland/rev/f345299f89d2
Address bar result list titles are misaligned by 1px. r=harry,ntim
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 88 Branch

I can confirm it is fixed in Nightly 88.0a1 (2021-03-10). Thanks :)

Thank you for reporting the problem!

I'm wontfixing 87 because the fix depends on previous cleanup work that happens in 88, it doesn't seem worth to spend much time into a 1 px text shift for a single version.

We verified this issue using Fx 88.0b5 on Windows 10 x64, macOS 10.13 and Ubuntu 18.04 LTS.

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

Attachment

General

Creator:
Created:
Updated:
Size: