Proton plus/add (new tab) icon is offset to the right
Categories
(Firefox :: Tabbed Browser, defect, P2)
Tracking
()
People
(Reporter: darek, Assigned: sfoster)
References
(Blocks 1 open bug)
Details
(Whiteboard: [proton-tabs-bar] [priority:2b])
Attachments
(3 files)
|
119 bytes,
image/png
|
Details | |
|
3.69 KB,
image/png
|
Details | |
|
48 bytes,
text/x-phabricator-request
|
pascalc
:
approval-mozilla-beta+
|
Details | Review |
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:89.0) Gecko/20100101 Firefox/89.0
Steps to reproduce:
The plus icon used as a new tab icon (chrome://global/skin/icons/add.svg) is not centered.
This makes it hard to use this icon, including it being off-center on the compact mode.
I am attaching a rasterized version (result of rendering by Firefox) to show the problem.
Comment 1•4 years ago
|
||
Managed to reproduce this issue Windows 10 x64, macOS 10.15, Ubuntu 20.04 and on Windows 7 x64.
Might be regressed by Bug 1702285 - Update tabstrip icons for Proton.
Updated•4 years ago
|
Updated•4 years ago
|
Comment 2•4 years ago
|
||
This issue seems to be reproducible also for the navigation buttons (< >) and List all tab button.
| Assignee | ||
Comment 3•4 years ago
•
|
||
The icons are drawn on a 16x16 grid. In order to avoid excessive sub-pixel dithering, the main vertical and horizontal lines are aligned on that grid. This necessarily means that some appear off-center, in some contexts. Where that creates a visible regression, I'd prefer we make adjustments in the CSS rather than the icon itself. This keeps the icons consistent with each other, and avoids "fixing" an alignment or spacing issue in one case, only to break it in others. This one (add.svg) is used in several other places in addition to the tab strip.
| Assignee | ||
Updated•4 years ago
|
| Assignee | ||
Comment 5•4 years ago
|
||
Updated•4 years ago
|
Comment 7•4 years ago
|
||
| bugherder | ||
Comment 8•4 years ago
|
||
Since the status are different for nightly and release, what's the status for beta?
For more information, please visit auto_nag documentation.
| Assignee | ||
Comment 9•4 years ago
|
||
90 is affected. I'd suggest either fix-optional or wontfix. Uplift would require also uplifting bug 1700124 which renames the image from add.svg to plus.svg. I'm not sure the cost/risk outweighs the gain in this case.
Updated•4 years ago
|
Comment 10•4 years ago
|
||
Sam, bug 1700124 landed in the 91 cycle so that seems safe to uplist in 91, do you want to request it?
| Assignee | ||
Comment 11•4 years ago
|
||
Comment on attachment 9229980 [details]
Bug 1706695 - Shift + icon paths left 1px to better center it. r?dao
Beta/Release Uplift Approval Request
- User impact if declined: "+" is offset/misaligned by 1px
- Is this code covered by automated tests?: No
- Has the fix been verified in Nightly?: Yes
- Needs manual test from QE?: No
- If yes, steps to reproduce:
- List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): Small change to a single svg file, to move the "+" paths 1 pixel to the left to better center them.
- String changes made/needed: None
Comment 12•4 years ago
|
||
Comment on attachment 9229980 [details]
Bug 1706695 - Shift + icon paths left 1px to better center it. r?dao
Polish, approved for 91 beta 5, thanks.
Comment 13•4 years ago
|
||
| bugherder uplift | ||
Updated•4 years ago
|
Updated•4 years ago
|
Comment 14•4 years ago
|
||
Reproduced with Fx 89.0 on Windows 10, macOS 11.0, Ubuntu 18.04.
Verified fixed with Fx 92.0a1 (22-06-2021) and Fx 91.0b6 on Windows 10, macOS 11.0, Ubuntu 18.04.
Description
•