In preferences "New Windows | Custom URLs" section, the "Use Current Pages" button has an awkward linewrap
Categories
(Firefox :: Settings UI, defect)
Tracking
()
People
(Reporter: dholbert, Assigned: emilio)
References
(Regression)
Details
(Keywords: regression)
Attachments
(5 files)
26.46 KB,
image/png
|
Details | |
30.55 KB,
image/png
|
Details | |
30.13 KB,
image/png
|
Details | |
48 bytes,
text/x-phabricator-request
|
RyanVM
:
approval-mozilla-esr115+
|
Details | Review |
48 bytes,
text/x-phabricator-request
|
RyanVM
:
approval-mozilla-esr115+
|
Details | Review |
STR:
- Visit about:preferences and click "Home" on the left
- For "Homepage and new windows": choose "Custom URLs..." from the dropdown.
- Look at the buttons that appear.
ACTUAL RESULTS:
The text for the "Use Current Pages" button barely doesn't fit on a single line and has a linebreak before "Pages". (This is true even if my window is arbitrarily large.)
EXPECTED RESULTS:
No such awkward linebreak (at least, not at default/generous window sizes).
This is a regression; Nightly 2023-01-01 places the button label on a single line (no linebreak). I'll track down the regression range shortly...
Reporter | ||
Comment 1•1 year ago
|
||
I'm using Nightly 116.0a1 (2023-06-29) (64-bit) on Ubuntu 22.04, BTW. (Not sure if this is platform-specific or not.)
Reporter | ||
Comment 2•1 year ago
|
||
Regression range:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=2cc925315ab4bc13d89167646695eece8d6f6a63&tochange=b50655fcce3faf31b2c1779c263ac7c1bca94863
--> Regression by the fix for bug 1822578
Reporter | ||
Comment 3•1 year ago
|
||
So it looks like that patch started making us distribute space more equally (setting flex-basis
to 0 for some elements), and that's causing the trouble here, at two levels:
(1) Top level, dividing up space between the Homepage and new windows
label vs. the vbox container of buttons/etc. to its right
(2) At the level of the two side-by-side buttons (Use Current Pages
vs Use Bookmark
)
Before and after the regression, this whole section is 672px wide.
But, for level (1):
Before the regression, the Homepage and new windows
label had less width than its vbox sibling (which got the lion's share, 393px).
After the regression, the label and its vbox sibling both get 332px.
(So this means we have less space to distribute to the buttons.)
For level (2):
Before the regression, we were distributing the space that we had unequally -- "Use Current Pages" got 199.4px, vs. "Use Bookmark" got 186.4.
After the regression, we're distributing the space equally; both buttons get 162px. (And this is substantially less than we had before, since there's less space to distribute here, per level (1).)
Reporter | ||
Comment 4•1 year ago
|
||
Reporter | ||
Comment 5•1 year ago
|
||
Reporter | ||
Comment 6•1 year ago
|
||
If you compare those last two screenshots side-by-side tabs, you can see how the whole section got skinnier.
[Tentatively setting ni=emilio in case there's an obvious fix or approach to follow from another similar bug that he fixed. Not sure if we just want to use a content-based flex-basis here, or something else.)
Assignee | ||
Updated•1 year ago
|
Assignee | ||
Updated•1 year ago
|
Assignee | ||
Comment 7•1 year ago
|
||
By simplifying the markup a bit.
Updated•1 year ago
|
Assignee | ||
Comment 8•1 year ago
|
||
Depends on D182662
Comment 10•1 year ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/a3e09bd1a670
https://hg.mozilla.org/mozilla-central/rev/31bb0043b157
Comment 11•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-firefox116
towontfix
.
For more information, please visit BugBot documentation.
Assignee | ||
Comment 12•1 year ago
|
||
Minor cosmetic fix, probably not worth uplifting.
Updated•1 year ago
|
Comment 13•1 year ago
|
||
Verified as fixed with Win 10x64, macOS 13 and Ubuntu 18.
Updated•1 year ago
|
Comment 14•1 year ago
|
||
Seems like a low-risk polish fix to take for ESR115 and it grafts cleanly. Do you want to nominate this for uplift?
Assignee | ||
Comment 15•1 year ago
|
||
Comment on attachment 9342090 [details]
Bug 1841186 - Ensure homepage and new tabs menulists align. r=#preferences-reviewers
ESR Uplift Approval Request
- If this is not a sec:{high,crit} bug, please state case for ESR consideration: low risk cosmetic fix
- User impact if declined: comment 0
- Fix Landed on Version: 117
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): Relatively simple CSS fix.
Comment 16•1 year ago
|
||
Comment on attachment 9342090 [details]
Bug 1841186 - Ensure homepage and new tabs menulists align. r=#preferences-reviewers
Approved for 115.2esr.
Updated•1 year ago
|
Comment 17•1 year ago
|
||
uplift |
Updated•1 year ago
|
Description
•