Profile manager UI will break if a longer name is set for a new profile
Categories
(Toolkit :: Startup and Profile System, defect)
Tracking
()
People
(Reporter: csasca, Assigned: emilio)
References
(Regression)
Details
(Keywords: regression)
Attachments
(3 files)
48 bytes,
text/x-phabricator-request
|
RyanVM
:
approval-mozilla-beta+
RyanVM
:
approval-mozilla-esr115+
|
Details | Review |
86.26 KB,
image/png
|
Details | |
523.30 KB,
image/png
|
Details |
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
- Launch Firefox with profile manager
- Select create profile
- Select continue and at the profile name input a long name (any characters)
- 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.
Comment 1•1 year ago
|
||
:csasca, if you think that's a regression, could you try to find a regression range using for example mozregression?
Comment 2•1 year ago
|
||
Regression window:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=0f84b85f120f45fe6bad63d5e26b5ba4cd89f801&tochange=fd69d6b3aeb8e1e04334a0885f60966883a69c08
Comment 3•1 year ago
|
||
:emilio, since you are the author of the regressor, bug 1799460, could you take a look?
For more information, please visit BugBot documentation.
Assignee | ||
Comment 4•1 year ago
|
||
Updated•1 year ago
|
Assignee | ||
Updated•1 year ago
|
Comment 6•1 year ago
|
||
bugherder |
Updated•1 year ago
|
Comment 7•1 year ago
|
||
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
towontfix
.
For more information, please visit BugBot documentation.
Assignee | ||
Comment 8•1 year ago
|
||
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
Assignee | ||
Updated•1 year ago
|
Comment 9•1 year ago
|
||
Comment on attachment 9346253 [details]
Bug 1845895 - Allow profile manager richlistbox to shrink. r=Gijs,dao
Approved for 117.0b3.
Comment 10•1 year ago
|
||
uplift |
Updated•1 year ago
|
Updated•1 year ago
|
Comment 11•1 year ago
|
||
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.
Comment 12•1 year ago
|
||
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?
Assignee | ||
Comment 13•1 year ago
|
||
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.
Comment 14•1 year ago
|
||
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?
Updated•1 year ago
|
Assignee | ||
Comment 15•1 year ago
|
||
I don't see any different styling so yeah might be worth tracking, though I don't have time right now to investigate it.
Updated•1 year ago
|
Comment 16•1 year ago
|
||
Comment on attachment 9346253 [details]
Bug 1845895 - Allow profile manager richlistbox to shrink. r=Gijs,dao
Approved for 115.2esr.
Comment 17•1 year ago
|
||
uplift |
Updated•1 year ago
|
Comment 18•1 year ago
|
||
Verified fixed with Fx 115.2esr on Windows 10, Ubuntu 22 and macOS 13.
Description
•