Closed Bug 1845895 Opened 1 year ago Closed 1 year ago

Profile manager UI will break if a longer name is set for a new profile

Categories

(Toolkit :: Startup and Profile System, defect)

Desktop
All
defect

Tracking

()

VERIFIED FIXED
118 Branch
Tracking Status
firefox-esr102 --- unaffected
firefox-esr115 --- verified
firefox115 --- wontfix
firefox116 --- wontfix
firefox117 --- verified
firefox118 --- verified

People

(Reporter: csasca, Assigned: emilio)

References

(Regression)

Details

(Keywords: regression)

Attachments

(3 files)

Found in

  • Firefox 116.0

Affected versions

  • Firefox 116.0
  • Firefox 117.0a1

Tested platforms

  • Affected platforms: macOS 13.5/14, Windows 11, Ubuntu 22.04

Steps to reproduce

  1. Launch Firefox with profile manager
  2. Select create profile
  3. Select continue and at the profile name input a long name (any characters)
  4. Click on Done

Expected result

  • The profile manager window sill stretch around the length of the name

Actual result

  • The profile manager window will get offset to the right of its screen and can't show the profile name properly

Regression range

  • Will see for a regression

Additional notes

  • The issue can be seen in the following attachment
  • Reopening the profile manager after creating the longer named profile will have the window stretched to be able to properly show it.
  • Maybe a character limit for names would help in avoiding this, or a dynamic stretch for the window.
  • This was initially found with a RU build where the default name is longer for a profile.

:csasca, if you think that's a regression, could you try to find a regression range using for example mozregression?

:emilio, since you are the author of the regressor, bug 1799460, could you take a look?

For more information, please visit BugBot documentation.

Flags: needinfo?(emilio)
Assignee: nobody → emilio
Status: NEW → ASSIGNED
Flags: needinfo?(emilio)
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/6312f41e5223 Allow profile manager richlistbox to shrink. r=Gijs
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 118 Branch

The patch landed in nightly and beta is affected.
:emilio, is this bug important enough to require an uplift?

  • If yes, please nominate the patch for beta approval.
  • If no, please set status-firefox117 to wontfix.

For more information, please visit BugBot documentation.

Flags: needinfo?(emilio)

Comment on attachment 9346253 [details]
Bug 1845895 - Allow profile manager richlistbox to shrink. r=Gijs,dao

Beta/Release Uplift Approval Request

  • User impact if declined: comment 0
  • Is this code covered by automated tests?: No
  • Has the fix been verified in Nightly?: Yes
  • Needs manual test from QE?: Yes
  • If yes, steps to reproduce: comment 0
  • List of other uplifts needed: none
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): Relatively simple / targeted CSS fix.
  • String changes made/needed: none
  • Is Android affected?: No
Flags: needinfo?(emilio)
Attachment #9346253 - Flags: approval-mozilla-beta?
Flags: qe-verify+

Comment on attachment 9346253 [details]
Bug 1845895 - Allow profile manager richlistbox to shrink. r=Gijs,dao

Approved for 117.0b3.

Attachment #9346253 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
QA Whiteboard: [qa-triaged]

This fix has been verified in today's Nightly v118.0a1. The Profile Manager no longer extends incorrectly when a profile name is longer than the window. It has been verified in Windows 10, Windows 11, Ubuntu 22 and MacOS 11. The fix will also be verified on Beta channel branch 117 when an official build is compiled, tomorrow.

I have, however, noticed that the Profile Manager window will behave differently between having created a very long profile name for the first time and opening it when there already is a profile with a very long username.

Detailed explanation: When the user opens the Profile Manager and creates a profile having a very long user name, the Profile Manager window will remain displayed with the initial smaller width window and show only a small portion of the username.
If then, the user opens the profile manager when there already is a profile with a very long username, the Profile Manager window will be displayed having a bigger width.

Is this behavior intended?

Flags: needinfo?(emilio)

It's a bit inconsistent but not too bad imo, if there's room for it we're sizing to content, which means we'll grow as needed... I haven't dug about what call ends up sizing the profile manager but that's in any case pre-existing.

Flags: needinfo?(emilio)

This fix has been verified in Beta v117.0b3. The Profile Manager no longer extends incorrectly when a profile name is longer than the window. It has been verified in Windows 10, Windows 11, Ubuntu 22 and MacOS 11. THank you.

I've noticed one more inconsistency between Windows and other OSes: Windows appears to have a maximum limit of width for the Password Manager window, but MacOS and Ubuntu stretch the window to show the complete username. This is not a regression. Is this an issue that should be addressed?

Flags: needinfo?(emilio)
Status: RESOLVED → VERIFIED
QA Whiteboard: [qa-triaged]
Flags: qe-verify+

I don't see any different styling so yeah might be worth tracking, though I don't have time right now to investigate it.

Flags: needinfo?(emilio)
Attachment #9346253 - Flags: approval-mozilla-esr115?

Comment on attachment 9346253 [details]
Bug 1845895 - Allow profile manager richlistbox to shrink. r=Gijs,dao

Approved for 115.2esr.

Attachment #9346253 - Flags: approval-mozilla-esr115? → approval-mozilla-esr115+

Verified fixed with Fx 115.2esr on Windows 10, Ubuntu 22 and macOS 13.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: