Closed Bug 1644975 Opened 5 years ago Closed 5 years ago

icons in bookmarks panel are stretched

Categories

(Core :: Graphics: WebRender, defect)

Unspecified
Linux
defect

Tracking

()

RESOLVED FIXED
mozilla79
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)

Attached image screen shot

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?

(The stretched icons are the bookmarks star and the history clock.)

Flags: needinfo?(sotaro.ikeda.g)

:heycam, thank for the report. Can you upload about:support to this bug? Does the problem happen on another PCs?

Flags: needinfo?(sotaro.ikeda.g) → needinfo?(cam)

Set release status flags based on info from the regressing bug 1574746

Attached file my about:support
Flags: needinfo?(cam)

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

I take a look.

Assignee: nobody → sotaro.ikeda.g
OS: Unspecified → Linux

From the symptom, it seems that Y was not scaled from 16px to 12px.

As Attachment 9157277 [details] [diff], when -moz-context-properties was none an WebRender was disabled, the cons were rendered as stretched like with WebRender.

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.

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.

With Attachment 9157284 [details] [diff], SVGImageContex is not created in SVGImageContext::MaybeStoreContextPaint(). With it, svg image became stretched even with valid -moz-context-properties.

The following explains about -moz-context-properties.
https://developer.mozilla.org/en-US/docs/Web/CSS/-moz-context-properties

(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?

Flags: needinfo?(jmuizelaar)
See Also: → 1354536

Created Bug 1646618 for the scaleX() problem with -moz-context-properties and without WebRender.

See Also: → 1646618

:mikedeboer, do you know why scaleX() is used instead of scale() there?

Flags: needinfo?(mdeboer)

I don't think -moz-context-properties should affect what happens with scaleX(). It seems like bug 1646618 is the true problem here.

Flags: needinfo?(jmuizelaar)

Calling this disabled for 78 since it sounds like this was only seen on linux?

(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.

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla79
Flags: needinfo?(mdeboer)
Has Regression Range: --- → yes
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: