Rich search suggestion icons are forced into a square aspect ratio
Categories
(Firefox :: Address Bar, defect, P2)
Tracking
()
| Tracking | Status | |
|---|---|---|
| relnote-firefox | --- | 150+ |
| firefox-esr140 | --- | unaffected |
| firefox150 | --- | verified |
| firefox151 | --- | verified |
| firefox152 | --- | verified |
People
(Reporter: adw, Assigned: adw)
References
Details
(Keywords: regression, Whiteboard: [sng])
Attachments
(5 files)
|
15.81 KB,
image/png
|
Details | |
|
144.40 KB,
image/png
|
Details | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
phab-bot
:
approval-mozilla-beta+
|
Details | Review |
|
48 bytes,
text/x-phabricator-request
|
phab-bot
:
approval-mozilla-release+
|
Details | Review |
After bug 2012436, rich search suggestion icons are loaded here and then here in the favicon utils, where they're forced into a square aspect ratio. Not all rich suggestion icons are square, see screenshots.
Updated•9 days ago
|
| Assignee | ||
Comment 1•9 days ago
|
||
Updated•9 days ago
|
Updated•8 days ago
|
| Assignee | ||
Comment 3•8 days ago
|
||
I'd like to modify RemoteImageProtocolHandler so it takes a max dimension and
preserves the image's aspect ratio, but for now I think we should stop passing a
width and height to it so that it returns images at their native sizes and
aspect ratios. That's not any worse than before bug 2012436 D284071 landed.
| Assignee | ||
Comment 5•6 days ago
|
||
I'd like to modify RemoteImageProtocolHandler so it takes a max dimension and
preserves the image's aspect ratio, but for now I think we should stop passing a
width and height to it so that it returns images at their native sizes and
aspect ratios. That's not any worse than before bug 2012436 D284071 landed.
Original Revision: https://phabricator.services.mozilla.com/D297215
Updated•6 days ago
|
Comment 6•6 days ago
|
||
firefox-beta Uplift Approval Request
- User impact if declined/Reason for urgency: This fixes stretching and distortion of images in Google search suggestions (rich search suggestions). See the screenshots in the bug for an example.
- Code covered by automated testing?: yes
- Fix verified in Nightly?: no
- Needs manual QE testing?: yes
- Steps to reproduce for manual QE testing: Trigger rich search suggestions and verify that the icons are not distorted
- Risk associated with taking this patch: low
- Explanation of risk level: No functional changes other than fixing the bug. This patch causes Firefox to load these images at their native size, and then the UI will shrink them down for display, which is what Firefox did before the regressing bug landed.
- String changes made/needed?: none
- Is Android affected?: no
Comment 7•6 days ago
|
||
firefox-release Uplift Approval Request
- User impact if declined/Reason for urgency: This fixes stretching and distortion of images in Google search suggestions (rich search suggestions). See the screenshots in the bug for an example.
- Code covered by automated testing?: yes
- Fix verified in Nightly?: no
- Needs manual QE testing?: yes
- Steps to reproduce for manual QE testing: Trigger rich search suggestions and verify that the icons are not distorted
- Risk associated with taking this patch: low
- Explanation of risk level: No functional changes other than fixing the bug. This patch causes Firefox to load these images at their native size, and then the UI will shrink them down for display, which is what Firefox did before the regressing bug landed.
- String changes made/needed?: none
- Is Android affected?: no
| Assignee | ||
Comment 8•6 days ago
|
||
I'd like to modify RemoteImageProtocolHandler so it takes a max dimension and
preserves the image's aspect ratio, but for now I think we should stop passing a
width and height to it so that it returns images at their native sizes and
aspect ratios. That's not any worse than before bug 2012436 D284071 landed.
Original Revision: https://phabricator.services.mozilla.com/D297215
Comment 9•6 days ago
|
||
| bugherder | ||
Updated•5 days ago
|
Updated•5 days ago
|
Comment 10•5 days ago
|
||
| uplift | ||
Updated•5 days ago
|
Updated•5 days ago
|
Comment 11•5 days ago
|
||
| uplift | ||
Updated•3 days ago
|
Comment 12•2 days ago
|
||
Reproduced the square rich suggestion icons with Firefox 150.0.1.
Verified as fixed using latest Nightly 152.0a1 and Firefox 151 beta 6 on Win 11 and mac OS 15.
Updated•20 hours ago
|
Comment 13•4 hours ago
|
||
Verified as fixed on Firefox 150.0.2 under Win 11, macOS 15 and Ubuntu 24.
Description
•