The Sort By dropdown arrow in about:logins is overlapped by text, if the sorting criteria is a longer string - (e.g. Username (Z-A))
Categories
(Firefox :: about:logins, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr102 | --- | unaffected |
firefox113 | --- | wontfix |
firefox114 | --- | wontfix |
firefox115 | --- | wontfix |
firefox116 | --- | verified |
People
(Reporter: dorin.pop, Assigned: julienw)
References
(Regression)
Details
(Keywords: regression)
Attachments
(3 files)
[Affected versions]:
- Nightly 115.0a1 (build id: 20230521210743)
- Beta 114.0b7 (build id: 20230521180321)
- Firefox 113.0.1 (build id: 20230511191846)
[Affected Platforms]:
- Mac 12.6.2
- Windows 10 x64
- Ubuntu 20.04 x64
[Prerequisites]:
Have at least 1 saved login
[Steps]:
- Go to about:logins
- In the left search column, sort the logins by Username (Z-A)
[Expected]:
The dropdown arrow is displayed next to the Username (Z-A) string
[Actual]:
The dropdown arrow is overlapped by text
[Regression]:
Last good revision: 18a5d13768562d011440560c5a6a5bbde9d589b1
First bad revision: 32be81d9b0cd316d794d6d3bdefef4b019542597
INFO: Pushlog: Link
Updated•2 years ago
|
Comment 1•2 years ago
|
||
:julienw, since you are the author of the regressor, bug 1816131, could you take a look?
For more information, please visit BugBot documentation.
Assignee | ||
Comment 2•2 years ago
|
||
I think we need to add this to #login-sort
:
background-position: right 3px center;
(and of course have something for RTL too)
What do you think itiel? Do you see a better idea? Should we add some shared style for such compact select boxes?
(In reply to Julien Wajsberg [:julienw] from comment #2)
I think we need to add this to
#login-sort
:background-position: right 3px center;
(and of course have something for RTL too)
What do you think itiel? Do you see a better idea? Should we add some shared style for such compact select boxes?
Oof, this is annoying :(
I like your idea of adding a compact select
class, but how compact is "compact"? Future UIs specs may require other spacing that may be somewhere between "normal" and "compact", etc...
I think to make this easier to fix for next time (hopefully there won't be a next time but we said it last time as well...), adding vars for the inline-start and inline-end paddings would allow overriding them without specifying the RTL variants (for the background position you mentioned above).
Of course the background position would need to be calculated according to this, maybe something like calc((var(--select-padding-inline-end) - 12px /* = background-image size /*) / 2)
to center the arrow in the end.
I'm not feeling well at the moment so I can't work on it soon-ish, if you're not up for the task bounce the needinfo back to me and I'll work on it when I can :)
Assignee | ||
Comment 4•2 years ago
|
||
Maybe we should add the background image as a generated content instead, so that we don't have to tweak the background-position. I'll look if this is doable.
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 5•2 years ago
|
||
Various properties depend on the padding value. Using variables makes
this more explicit, and enable users to change it easily.
Assignee | ||
Comment 6•2 years ago
|
||
This also cleans up the style around this select, now that it's been
shared in commons-shared.css
Depends on D179077
Assignee | ||
Comment 7•2 years ago
|
||
(In reply to Julien Wajsberg [:julienw] from comment #4)
Maybe we should add the background image as a generated content instead, so that we don't have to tweak the background-position. I'll look if this is doable.
FTR this doesn't work, I believe because <select> is somewhat special.
Updated•2 years ago
|
Comment 8•2 years ago
|
||
Set release status flags based on info from the regressing bug 1816131
Comment 10•2 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/330f7579fef8
https://hg.mozilla.org/mozilla-central/rev/1567e1db9b44
Comment 11•2 years ago
|
||
The patch landed in nightly and beta is affected.
:julienw, is this bug important enough to require an uplift?
- If yes, please nominate the patch for beta approval.
- If no, please set
status-firefox115
towontfix
.
For more information, please visit BugBot documentation.
Comment 12•2 years ago
|
||
I have verified that the issue is no longer reproducible on the latest Nightly
Version 116.0a1
Build ID 20230613152538
MacOS Monterey 12.6.2
Assignee | ||
Comment 13•2 years ago
|
||
This shipped in several releases already, so I don't think there's an urgency in fixing this. As this bug proves, touching shared CSS can easily bring regressions, so I'd rather let this bake in Beta a bit.
Please let me know if you disagree.
Description
•