SVG rendering cut parts when scrolling
Categories
(Core :: Graphics: WebRender, defect, P3)
Tracking
()
People
(Reporter: alejandroalonsofernandez, Assigned: tnikkel)
References
(Blocks 1 open bug, Regression)
Details
(Keywords: regression)
Attachments
(4 files)
User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.51 Safari/537.36
Steps to reproduce:
In the attached html, scrolling down and up again make part of the svg disappear and appear again.
I'm attaching the sample test.html to reproduce the bug and two screenshots. One for the OK visualization and one for the KO after the scroll.
Actual results:
In my case it only happens when using my laptop screen but not if using an external monitor
Expected results:
The svg should be rendered consistently when scrolling.
Reporter | ||
Comment 1•3 years ago
|
||
Reporter | ||
Comment 2•3 years ago
|
||
Comment hidden (obsolete) |
Reporter | ||
Comment 4•3 years ago
|
||
Comment hidden (obsolete) |
Comment 6•3 years ago
|
||
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.
Comment 7•3 years ago
|
||
Easily reproduces on nightly and stable. It looks like there is some wrong clipping happening inside of the blob image (paint flashing show tiles for the missing part but they are transparent), and that clip looks like it may be related to the viewport clip. The cut out part comes back when tiles are invalidated and are visible.
Updated•3 years ago
|
Updated•3 years ago
|
Comment 8•3 years ago
|
||
Comment 9•3 years ago
|
||
Set release status flags based on info from the regressing bug 1720986
Comment 10•3 years ago
|
||
:mattwoodrow, since you are the author of the regressor, bug 1720986, could you take a look?
For more information, please visit auto_nag documentation.
Comment 11•3 years ago
|
||
Interestingly enough, reverting bug 1720986 doesn't seem to fix things anymore.
Comment 12•3 years ago
|
||
It would be interesting to see if reverting before and after bug 1728498 makes a difference. nical, do you want to try this? I tried building before then on my M1 but it failed to build because of macOS sdk stuff
Assignee | ||
Comment 13•3 years ago
|
||
Reverting bug 1720986 immediately before bug 1728498 fixes the testcase.
Reverting bug 1720986 immediately after bug 1728498 does not fix the testcase.
(Since there we conflicts reverting in the TYPE_FILTER case of PaintContainerItem, it looks like reverting it means not touching the building rect at all there, which is what I did to "revert" after bug 1728498.)
(I don't plan to work on this further, just felt like checking this.)
Updated•3 years ago
|
Comment 14•2 years ago
|
||
The bug has a release status flag that shows some version of Firefox is affected, thus it will be considered confirmed.
Updated•2 years ago
|
Updated•2 years ago
|
Comment 15•2 years ago
|
||
Redirect a needinfo that is pending on an inactive user to the triage owner.
:gw, since the bug has recent activity, could you have a look please?
For more information, please visit auto_nag documentation.
Comment 16•2 years ago
|
||
Jeff, perhaps something you or Nical could investigate further?
Assignee | ||
Comment 17•1 year ago
|
||
There are several paths in ComputeGeometryChange where we can allocate an geometry item for a filter item, but only one path that will call DetectContainerLayerPropertiesBoundsChange (which adjusts the bounds for filter items). Make sure this always happens in ComputeGeometryChange.
This was causing a bug where the geometry bounds were the full filter item height on the first paint (even though only part of the filter item was visible inside the building rect), but we did not call DetectContainerLayerPropertiesBoundsChange because it was the first paint where the filter item was visible. Then on the next paint the full filter item was visible, and there is no rect change to signal that we need to repaint.
Updated•1 year ago
|
Assignee | ||
Updated•1 year ago
|
Assignee | ||
Updated•1 year ago
|
Comment 18•1 year ago
|
||
Comment 19•1 year ago
|
||
bugherder |
Updated•1 year ago
|
Assignee | ||
Updated•1 year ago
|
Description
•