Closed Bug 2067404 Opened 2 months ago Closed 3 days ago

[Nova] Incorrect button size and spacing in Account menu Sign in section

Categories

(Firefox :: Menus, defect, P3)

Firefox 157
Desktop
All
defect
Points:
1

Tracking

()

RESOLVED FIXED
162 Branch
Tracking Status
firefox157 --- affected
firefox162 --- fixed

People

(Reporter: sbadau, Assigned: gwoods, Mentored)

References

(Blocks 3 open bugs)

Details

(Keywords: good-first-bug, Whiteboard: [fidefe-post-nova])

Attachments

(2 files, 1 external file)

Found in

  • Nightly 157.0a1

Affected versions

  • Nightly 157.0a1

Tested platforms

  • Affected platforms: Windows 11 x64, macOS 26, Ubuntu 24.04

Preconditions

  • Sign in to Sync, but do not complete sign in - do not enter the requested 6-digit.

Steps to reproduce

  1. Click the Account button.
  2. Observe the header state for incomplete account setup.

Expected result

  • The header state for incomplete account setup should match the Figma specs.

Actual result

  • The spacing between the email address and the Finish Setup text is larger than in Figma.
  • The user icon does not have the gray background shown in Figma.
  • On Windows 11, the Sign in button is wider, with more space around the text than shown in Figma.
  • On Windows 11, the letter "g" in the email address is clipped.

Regression range

  • The issue was introduced with the Nova styling changes.
Severity: -- → S3
Priority: -- → P3

Eric, Juliana, do you think we actually need the gray background for the avatar / user icon? I feel like it's extraneous, and we can forego it. Attached an additional image to show how the menu looks like without it.

See Also: → 2067740

Simona, we consulted with Juliana and decided to remove the grey background behind the account avatar. Juliana will update the spec.

Summary: [Nova] Incomplete setup state in the Account menu does not match the Figma specifications → [Nova] Incorrect button size and spacing in Account menu Sign in section
Whiteboard: [fidefe-nova] → [fidefe-post-nova]
Points: --- → 1
Assignee: nobody → nsharpley
Assignee: nsharpley → nobody
Mentor: nsharpley
Keywords: good-first-bug
Assignee: nobody → gwoods

The Sign in buttons in the account menu's signed-out card and the app menu's
signed-out row used the default button size, larger than the spec. The email
label kept its default XUL block margin, doubling the gap above the status
message, which already sets margin-block: 0.

The app menu row could not shrink below its email's full width, pushing the
Sign in button out of the panel for long addresses. Its label sets its text
through textContent, so XUL's crop attribute does not apply, and the shared
rule now truncates the email itself.

Submitted a patch to phabricator (D342276).

  • The Sign in button uses size="small" (61 × 32px to 56 × 24px).
  • The gap between the email and "Finish setup" no longer includes the label's default margin (2.77px to 1.38px).
  • Long emails now truncate in the app menu instead of pushing the Sign in button out of the panel (something I noticed while testing).

I found that I was not able to reproduce the clipping "g" issue under either macOS 27.0.1 or Windows 11. Simona, do you still see the clipping issue in current Nightly? If so, is your windows using any custom display scaling or text sizing?

I tested it on macOS (several font sizes, densities, and RTL) and on Windows 11 ARM64 at 100–175% display scaling, and browser_sync.js passes.

Flags: needinfo?(sbadau)

(In reply to Greg Woods from comment #5)

Submitted a patch to phabricator (D342276).
I found that I was not able to reproduce the clipping "g" issue under either macOS 27.0.1 or Windows 11. Simona, do you still see the clipping issue in current Nightly? If so, is your windows using any custom display scaling or text sizing?

I can no longer see the clipping, verified using the latest Nightly 162.0a1 on Windows 11 and macOS 26.

Flags: needinfo?(sbadau)
Pushed by fterdal@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/91d81f34e0ff https://hg.mozilla.org/integration/autoland/rev/90c8efb2fb7b Use the small Sign in button and fix email spacing and truncation in the signed-out account card. r=nsharpley,desktop-theme-reviewers,akulyk
Status: NEW → RESOLVED
Closed: 3 days ago
Resolution: --- → FIXED
Target Milestone: --- → 162 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: