Open Bug 1766094 Opened 3 years ago Updated 11 months ago

SVG animation not rendered while page is idle

Categories

(Core :: Graphics: WebRender, defect, P3)

Firefox 101
defect

Tracking

()

ASSIGNED
Tracking Status
firefox-esr91 --- unaffected
firefox99 --- unaffected
firefox100 --- unaffected
firefox101 --- disabled

People

(Reporter: q3.max.2011, Assigned: tnikkel)

References

(Blocks 1 open bug, Regression)

Details

(Keywords: regression)

Attachments

(2 files)

Attached image splash.svg

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:101.0) Gecko/20100101 Firefox/101.0

Steps to reproduce:

Open any page containing SVG image with animated HTML component inside and let page sit idle. (example https://github.com/maxsupermanhd/WebChunk/blob/master/splash.svg)

Prior to some recent nightly update it was working fine.

Example SVG in attachment.

Firefox Nightly 101.0a1 (2022-04-22) (64-bit) on XFCE 5.13.0-35-generic #40~20.04.1-Ubuntu (NVIDIA proprietary driver 510)

Actual results:

Animation is not being rendered (looks like it is being processed but tab does not show any visual changes) if inside HTML page. Renders as usual if opened just as image file by itself.

Expected results:

Animated SVG components should be always rendered regardless of tab being idle.

The Bugbug bot thinks this bug should belong to the 'Core::Graphics: WebRender' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Graphics: WebRender
Product: Firefox → Core

Seems to work fine on mac. Would you be willing to use https://mozilla.github.io/mozregression/ to find out what caused this?

Flags: needinfo?(q3.max.2011)

I tested it with mozregression GUI and attached screenshot after final test: https://imgur.com/a/ouiSXNW

It seems like it is related to bug 1763643 and 1763642, build 4a5f91ff does not work correctly but 3d61c0e3 renders continuous animation just fine.

Flags: needinfo?(q3.max.2011)

Thanks!

Regressed by: 1763643

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

:aosmond, since you are the author of the regressor, bug 1763643, could you take a look?
For more information, please visit auto_nag documentation.

Flags: needinfo?(aosmond)
Has Regression Range: --- → yes

The regressor is being backed out in bug 1766333

Severity: -- → S3
Priority: -- → P3

The bug has a release status flag that shows some version of Firefox is affected, thus it will be considered confirmed.

Status: UNCONFIRMED → NEW
Ever confirmed: true

All other UpdateBlobImage updates come during a transaction with a new display list, so they don't hit this path. However svg blob images can update without a new display list, by just sending a resource update. This matches how the same code for animated raster images uses UpdateImage.

Assignee: nobody → tnikkel
Status: NEW → ASSIGNED
Flags: needinfo?(aosmond)

There is an r+ patch which didn't land and no activity in this bug for 2 weeks.
:tnikkel, could you have a look please?
If you still have some work to do, you can add an action "Plan Changes" in Phabricator.
For more information, please visit BugBot documentation.

Flags: needinfo?(tnikkel)
Flags: needinfo?(lsalzman)
Flags: needinfo?(tnikkel)
Flags: needinfo?(lsalzman)
Depends on: wr-svg-correctness
No longer depends on: wr-svg-correctness
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: