Closed Bug 1895516 Opened 1 year ago Closed 4 months ago

“x” button from “Import history..” banner from Firefox View is not aligned with the right edge of the card’s inner padding

Categories

(Firefox :: Firefox View, defect, P5)

Desktop
All
defect

Tracking

()

VERIFIED FIXED
139 Branch
Tracking Status
firefox-esr115 --- unaffected
firefox-esr128 --- wontfix
firefox125 --- wontfix
firefox126 --- wontfix
firefox127 --- wontfix
firefox137 --- wontfix
firefox138 --- wontfix
firefox139 --- verified

People

(Reporter: bhidecuti, Assigned: gautampanakkal)

References

(Regression)

Details

(Keywords: good-first-bug, regression)

Attachments

(2 files)

Found in

  • 126.0 RC-build 1

Affected versions

  • 127.0a1 (2024-05-06)
  • 126.0 RC-build1
  • 125.0.3

Tested platforms

  • Affected platforms: Windows 11, macOS 12.6.6, Ubuntu 22.04
  • Unaffected platforms: none

Steps to reproduce

  1. Open a few websites and navigate to the Firefox View tab
  2. Click on the History option from the left side of the page
  3. Observe the alignment of the “x” button from the “Import history from another browser” banner

Expected result

  • The “x” button does align with the right edge of the card’s inner padding

Actual result

  • The “x” button does not align with the right edge of the card’s inner padding

Regression range

Additional notes

  • See the attached ss
  • Not reproducing for the buttons from the tab row row items (fixed in Bug 1889769)

: bhidecuti can you confirm the regressor?
Comment 0 indicates that 125.0.3 is affected but the regressor is only in 126+

Flags: needinfo?(bhidecuti)

dmeehan, after further investigation it seems that the issue was reproducing since the implementation but it was fixed in Firefox Nightly 126.0a1 (2024-03-27) by Bug 1880542. This is why I am also able to reproduce it with Firefox 125.0.3.
Starting with Firefox Nightly 126.0a1 (2024-04-06), I am able to reproduce it again. Please let me know if I can provide more details!

Flags: needinfo?(bhidecuti)

Thanks for the clarification.
Cleared the regression and resolving as fixed in 126 and 127 based on Comment 2

Status: NEW → RESOLVED
Closed: 1 year ago
Keywords: regression
No longer regressed by: 1889769
Resolution: --- → FIXED
See Also: → 1880542
Target Milestone: --- → 126 Branch

dmeehan, anytime. I want to point out that the issue is still reproducing in Firefox 126.0 RC-build1 and on the latest Firefox 127.0a1 Nightly, as mentioned in Comment 0.
The issue was introduced again in Firefox Nightly 126.0a1 (2024-04-06) by Bug 1889769.

Flags: needinfo?(dmeehan)

Thank you for clarifying, Comment 4 is not what I read in Comment 2
Reopening for now so the bug is in the correct status

Flags: needinfo?(dmeehan)
Keywords: regression
Regressed by: 1889769
Target Milestone: 126 Branch → ---
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Priority: -- → P5

:kcochrane, since you are the author of the regressor, bug 1889769, could you take a look?

For more information, please visit BugBot documentation.

Flags: needinfo?(kcochrane)
Flags: needinfo?(kcochrane)
Whiteboard: [fidefe-firefox-view]
Assignee: nobody → gautampanakkal

I moved the 8px left/right padding from the div wrapping the entire import history banner into the div around the banner text, to match the padding setup in the history rows below. Please let me know if this is good or if you'd like revisions!

Flags: needinfo?(sfoster)

Hi Jonathan, I've made you the reviewer on the patch. Let me know if this should be handled by someone else instead. Thanks!

Flags: needinfo?(sfoster) → needinfo?(jsudiaman)

I've approved, but it still needs approval from a member of #desktop-theme-reviewers.

Flags: needinfo?(jsudiaman)

Hi, can you review this for #desktop-theme-reviewers?

Flags: needinfo?(kcochrane)

Done!

Flags: needinfo?(kcochrane)
Pushed by jsudiaman@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/ec009ea2b17c Align 'x' button in 'Import history...' banner with right edge of card's inner padding r=desktop-theme-reviewers,fxview-reviewers,jsudiaman,kcochrane
Status: REOPENED → RESOLVED
Closed: 1 year ago4 months ago
Resolution: --- → FIXED
Target Milestone: --- → 139 Branch

Verified as fixed using Firefox Nightly 139.0a1 (2025-04-24), on macOS 14, Windows 11 and Ubuntu 22.04. The “x” button now aligns with the right edge of the card’s inner padding.

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

Attachment

General

Created:
Updated:
Size: