Closed Bug 1465403 Opened 4 years ago Closed 3 years ago
OS menu and touchbar icons are blurry when SVG is used
No description provided.
What icons is this referring to? If the size of the SVG is doubled and then scaled to 50%, does this reproduce?
There are quite a few SVG bugs open for the SVG being rendered in images at the wrong resolution. For example, bug 986403. Several years ago I dug into one of them a bit, but every time I got to an "ah-hah, got it!" moment, it turned out not to be a red herring. From what I recall I last suspected that on HiDPI we were doing something wrong somewhere with CSS px to dev pixel conversion, but I never tracked down the source of the bug I was looking into at the time.
(In reply to Stephen A Pohl [:spohl] from comment #1) > What icons is this referring to? If the size of the SVG is doubled and then > scaled to 50%, does this reproduce? The icons in the "Bookmarks" menu, this is mostly visible if you enable a dark menu bar on macOS. Yes, it works if we double the size of SVG from 16 to 32, but it would be nice if the widget code handled this without such hacks.
Bug 1174284 is technically for a different problem but I think the comments there outline how to fix this in the widget code.
See Also: → 1174284
Summary: MacOS menu icons are blurry when SVG is used → MacOS menu and touchbar icons are blurry when SVG is used
Pushed by email@example.com: https://hg.mozilla.org/integration/autoland/rev/9154f62e7c76 Support loading icons @2x in macOS menu bars. r=mstange
You need to log in before you can comment on or make changes to this bug.