icons in bookmarks panel are stretched
Categories
(Core :: Graphics: WebRender, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr68 | --- | unaffected |
firefox-esr78 | --- | disabled |
firefox77 | --- | unaffected |
firefox78 | --- | disabled |
firefox79 | --- | disabled |
People
(Reporter: heycam, Assigned: sotaro)
References
(Blocks 1 open bug, Regression, )
Details
(Keywords: regression)
Attachments
(5 files)
59.45 KB,
image/png
|
Details | |
28.47 KB,
text/plain
|
Details | |
796 bytes,
patch
|
Details | Diff | Splinter Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
872 bytes,
patch
|
Details | Diff | Splinter Review |
See the attached screen shot: the icons next to bookmark entries in the bookmarks panel are stretched. mozregression points me to bug 1574746. Sotaro, can you take a look?
Reporter | ||
Comment 1•5 years ago
|
||
(The stretched icons are the bookmarks star and the history clock.)
Reporter | ||
Updated•5 years ago
|
Assignee | ||
Comment 2•5 years ago
•
|
||
:heycam, thank for the report. Can you upload about:support to this bug? Does the problem happen on another PCs?
Comment 3•5 years ago
|
||
Set release status flags based on info from the regressing bug 1574746
Reporter | ||
Comment 4•5 years ago
|
||
Reporter | ||
Comment 5•5 years ago
|
||
For my other machines:
- macOS with WebRender force enabled - not stretched
- Linux with WebRender force enabled - stretched
- Windows with WebRender enabled by default - not stretched
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 7•5 years ago
|
||
The stretched pat was svg.
https://searchfox.org/mozilla-central/rev/2c1092dc68c63f7bad6da6a03c5883a5ab5ff2ca/browser/themes/shared/customizableui/panelUI.inc.css#1159
https://searchfox.org/mozilla-central/rev/2c1092dc68c63f7bad6da6a03c5883a5ab5ff2ca/browser/themes/shared/customizableui/panelUI.inc.css#1155
Their sizes seem to be set in the following.
https://searchfox.org/mozilla-central/rev/2c1092dc68c63f7bad6da6a03c5883a5ab5ff2ca/browser/themes/shared/customizableui/panelUI.inc.css#1163
Assignee | ||
Comment 8•5 years ago
|
||
From the symptom, it seems that Y was not scaled from 16px to 12px.
Assignee | ||
Comment 9•5 years ago
|
||
Assignee | ||
Comment 10•5 years ago
|
||
As Attachment 9157277 [details] [diff], when -moz-context-properties was none an WebRender was disabled, the cons were rendered as stretched like with WebRender.
Assignee | ||
Comment 11•5 years ago
|
||
Assignee | ||
Comment 12•5 years ago
•
|
||
With Attachment 9157280 [details], the problem was addressed with WebRender for me. I am not sure why scaleX is used there.
When -moz-context-properties is valid, svg image was always rendered by keeping aspect ratio.
Assignee | ||
Comment 13•5 years ago
•
|
||
When -moz-context-properties was valid and WebRender was disabled, scaleX() did not stretch svg image in one direction. Its aspect ratio
was kept. I am not sure if it is a correct behavior.
Assignee | ||
Comment 14•5 years ago
|
||
Assignee | ||
Comment 15•5 years ago
|
||
With Attachment 9157284 [details] [diff], SVGImageContex is not created in SVGImageContext::MaybeStoreContextPaint(). With it, svg image became stretched even with valid -moz-context-properties.
Assignee | ||
Comment 16•5 years ago
|
||
The following explains about -moz-context-properties.
https://developer.mozilla.org/en-US/docs/Web/CSS/-moz-context-properties
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 17•5 years ago
•
|
||
(In reply to Sotaro Ikeda [:sotaro] from comment #13)
When -moz-context-properties was valid and WebRender was disabled, scaleX() did not stretch svg image in one direction. Its aspect ratio
was kept. I am not sure if it is an expected behavior.
:jrmuizel, do you know if it is an expected behavior?
Assignee | ||
Comment 18•5 years ago
|
||
Created Bug 1646618 for the scaleX() problem with -moz-context-properties and without WebRender.
Assignee | ||
Comment 19•5 years ago
|
||
:mikedeboer, do you know why scaleX() is used instead of scale() there?
Comment 20•5 years ago
|
||
I don't think -moz-context-properties should affect what happens with scaleX(). It seems like bug 1646618 is the true problem here.
Comment 21•5 years ago
|
||
Calling this disabled for 78 since it sounds like this was only seen on linux?
Assignee | ||
Comment 22•5 years ago
•
|
||
(In reply to Julien Cristau [:jcristau] from comment #21)
Calling this disabled for 78 since it sounds like this was only seen on linux?
Yes, it affects only to linux with WebRender.
Comment 23•5 years ago
|
||
Comment 24•5 years ago
|
||
bugherder |
Assignee | ||
Updated•5 years ago
|
Updated•5 years ago
|
Description
•