Closed Bug 1363140 Opened 7 years ago Closed 5 years ago

[e10s] SVG image set using content:url(...) bounces around when changing its opacity on hover

Categories

(Core :: SVG, defect, P2)

All
Unspecified
defect

Tracking

()

RESOLVED WORKSFORME
Tracking Status
firefox-esr45 --- unaffected
firefox-esr52 --- wontfix
firefox53 --- wontfix
firefox54 --- wontfix
firefox55 --- wontfix
firefox56 --- wontfix
firefox57 --- ?

People

(Reporter: dao, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: multiprocess, regression)

Attachments

(2 files)

See bug 1351827 comment 21.

Here's the patch that triggers the issue in about:home: https://reviewboard.mozilla.org/r/137150/diff/1
Can't reproduce on Beta (54).
Keywords: regression
Attached image mozilla.svg
Attached file index.html
I can reproduce on Firefox50 with e10s
Keywords: multiprocess
Summary: SVG image set using content:url(...) bounces around when changing its opacity on hover → [e10s] SVG image set using content:url(...) bounces around when changing its opacity on hover
If I read the bug correctly, the logo will be bounced around on hover and become smaller when zoom-in.
However, I'm not seeing the problem on FF55/FF56 builds when loading the test case attached by Alice.
Do I miss anything?
Flags: needinfo?(alice0775)
At least, I can reproduce the bounds Nightly56.0a1 32 and 64bit with e10s on Windows10 64bit.
And it is not matter HWA on or off.
Flags: needinfo?(alice0775)
(In reply to Alice0775 White from comment #6)
> At least, I can reproduce the bounds Nightly56.0a1 32 and 64bit with e10s on
> Windows10 64bit.
> And it is not matter HWA on or off.

Interestingly, the issue can only be reproduced on linux/Windows platforms only.
Thanks for prompt feedback.
Blocks: svg-enhance
OS: All → Unspecified
Priority: -- → P3
Do you have any ideas about the cause?
Flags: needinfo?(cku)
Since this is a regerssion of bug 1085783, it should be relative to the change in ComputeSnappedImageDrawingParameters[1]
I will look into in when I have time.

[1] https://hg.mozilla.org/mozilla-central/rev/b339f54f20f6
Assignee: nobody → cku
Flags: needinfo?(cku)
Status: NEW → ASSIGNED
Priority: P3 → P2
1. We can repro this bug only by turning on E10S
2. This bug appears right after kicking off an async opacity animation
   2.1 Before animation, we paint "mozilla" logo on the root painted layer.
   2.2 Hover on "mozilla" logo and animation begin, "mozilla" logo image is promoted onto a dedicate painted layer. And you will see a bigger image right after we paint "mozilla" logo onto this new layer.
   2.3 Animation end. "mozilla" logo shrinked becasue we paint "mozilla" logo back on the root painted layer again.

Peter, can you find someone look into this issue? It seem to be a gfx bug.
Assignee: cku → nobody
Status: ASSIGNED → NEW
Flags: needinfo?(howareyou322)
I tried to dump the image content when animation happened and found the content(SVG) already contained the two thin white bars in the left/right side of a SVG image.

The content is the same with/without e10s, but it looks like I couldn't reproduce this issue with the non-e10s mode.
The layer size is the same with/without e10s for this SVG animation.

I will fire another bug why composition result for this SVG animation are different between e10s and non-e10s.

CJ, I think you can use this bug to check the sanp problem.

[1]https://pastebin.mozilla.org/9027496
Flags: needinfo?(howareyou322)
See Also: → 1384212
Does this still happen in 57?

This should be fixed now, can anyone confirm that it is?

Comment 3 can no longer reproduce, mark as WFM.

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: