The tab counter text is not displayed in the center of the tab counter square and is done by the font set in the phone
Categories
(Fenix :: Toolbar, defect, P3)
Tracking
(firefox136 fixed)
Tracking | Status | |
---|---|---|
firefox136 | --- | fixed |
People
(Reporter: emanuellclaudiu, Assigned: petru)
References
Details
(Whiteboard: [fxdroid][group3])
Attachments
(5 files)
User Agent: Mozilla/5.0 (Android 11; Mobile; rv:125.0) Gecko/125.0 Firefox/125.0
Steps to reproduce:
The number of tabs or the infinity sign that shows more than 100 open tabs in the toolbar counter, it is not currently displayed in the center of the square and is also influenced by the font set on the phone, this can be seen mostly in the new toolbar from the secret options, but it can also be seen in the current toolbar.
Actual results:
The number of tabs in the square box does not display consistently in the center, regardless of the font set.
Expected results:
The number of tabs should be displayed right in the center of the square table without moving.
Reporter | ||
Comment 1•11 months ago
|
||
I changed the font in the phone settings and the result is that the new toolbar counter (toolbar redesingn incomplete portions) moves even more.
Updated•10 months ago
|
Updated•10 months ago
|
Updated•10 months ago
|
Updated•10 months ago
|
Updated•10 months ago
|
Comment 2•10 months ago
|
||
Setting toolbar redesign's Release blockers to priority P3 until we finish fixing our Beta experiment blockers.
Updated•4 months ago
|
Comment 3•4 months ago
|
||
Refinement notes:
- Infinity symbol centered horizontally but not vertically; needs to be updated
- What should we do for larger system fonts? <-- already (correctly) does not scale with system font
- Unknown: TBD if the glyph is aligned differently in different contexts (e.g., depending on system encoding or font). If we need to handle that, we might need to convert the infinity symbol to an SVG and swap between it and the numbers 0-99 rather than using the text glyph itself.
- This view is currently a compoundview, not a composable
- We should do a spike on this before pointing it to figure out the current state of that view
Spike opened in Bug 1929318; we'll revisit pointing this after that spike is done.
Comment 4•4 months ago
|
||
This is an existing bug and thus doesn't need to block releasing the new toolbar design.
Assignee | ||
Updated•2 months ago
|
Assignee | ||
Comment 5•2 months ago
|
||
I could reproduce the issue with the infinity symbol being off centered vertically (comment 0) but not the issue with the symbol being off centered horizontally also (comment 1).
To reduce depending on fragile code to correctly center a separate symbol in the counter box we can use another SVG containing both the counter box and the infinity symbol thus guaranteeing this symbol will always be shown as centered.
Assignee | ||
Comment 6•2 months ago
|
||
Using a drawable instead of brittle padding updates ensures the infinite symbol will
always be centered in the tab counter box.
Updated•1 months ago
|
Assignee | ||
Comment 7•1 months ago
|
||
Using a drawable instead of brittle padding updates ensures the infinite symbol will
always be centered in the tab counter box.
Assignee | ||
Comment 8•1 month ago
|
||
Comment 10•1 month ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/679a95913948
https://hg.mozilla.org/mozilla-central/rev/93a770e27cd8
https://hg.mozilla.org/mozilla-central/rev/767e73c33155
Description
•