Open Bug 1933921 Opened 2 months ago Updated 9 days ago

SVG shortcut favicon on new tab page is cropped on the top and bottom

Categories

(Firefox :: New Tab Page, defect, P3)

Firefox 133
defect

Tracking

()

Tracking Status
firefox-esr115 --- unaffected
firefox-esr128 --- unaffected
firefox133 --- wontfix
firefox134 --- fix-optional
firefox135 --- fix-optional
firefox136 --- affected

People

(Reporter: ke5trel, Unassigned)

References

(Regression)

Details

(Keywords: regression)

Attachments

(2 files)

STR:

  1. Pin https://www.cbsnews.com to the new tab page shortcuts.

Expected:
CBS icon is fully visible with a circular outer perimeter.

Actual:
CBS icon has a flat top and bottom indicating it is being cropped.

Occurs at all zoom levels. The image was previously PNG but recently changed to SVG.

Also occurs on about:firefoxview but requires zooming to notice and mostly affects the bottom edge.

Regression window:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=47b1ae23989b8389b90ec9fed715d9eae6455ad7&tochange=ec6364b47f312809587d58ec8fe38e02d7f78976

Regressed by Bug 1494016.

:yazan, since you are the author of the regressor, bug 1494016, could you take a look? Also, could you set the severity field?

For more information, please visit BugBot documentation.

Flags: needinfo?(yalmacki)

I don't think this is effectively a regression (in the sense the newly modified code is not wrong), we're just picking a different favicon and this uncovered a bug in how new tab handles this svg.
I'm moving the bug to NewTab, as I think there should be no problem using an svg, and this happening may allow investigating why such an icon gets cropped.
Though this is pretty much the same as Bug 1933158, this is a mask-icon and Places should not store it for now, fixing that bug should shortly return to the old png.

Component: Places → New Tab Page
Flags: needinfo?(yalmacki)
Product: Toolkit → Firefox

It would also need to be fixed in the history sidebar and about:firefoxview. Tab and bookmark icons are unaffected.

Severity: -- → S3
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: