Closed
Bug 1497528
Opened 6 years ago
Closed 6 years ago
Large SVG in google docs clipped incorrectly with WebRender
Categories
(Core :: Graphics: WebRender, defect, P1)
Tracking
()
RESOLVED
FIXED
Tracking | Status | |
---|---|---|
geckoview62 | --- | disabled |
firefox-esr60 | --- | unaffected |
firefox62 | --- | disabled |
firefox63 | --- | disabled |
firefox64 | --- | fixed |
People
(Reporter: nical, Assigned: gw)
References
(Blocks 1 open bug, )
Details
(Keywords: regression)
Attachments
(4 files, 1 obsolete file)
With WebRender, zooming on the svg at https://docs.google.com/drawings/d/1zPNU69MVr3wOnKFa5_G4apeCFBhxCVKNxo5l0AEmyIk/edit (either using google doc's zoom tool at the top left or the browser's zoom), the right side of the svg gets clipped out.
The bug doesn't happen without WebRender.
Reporter | ||
Comment 1•6 years ago
|
||
The bug doesn't happen with the same SVG file outside of google docs.
Comment 2•6 years ago
|
||
Comment 3•6 years ago
|
||
This is on OSX but I can repro on Linux as well.
Comment 4•6 years ago
|
||
Comment 5•6 years ago
|
||
Updated•6 years ago
|
Assignee: nobody → jmuizelaar
Comment 6•6 years ago
|
||
I've seen this on lots of google slide decks. Only happens for me when the window is stretched beyond 3300px or so (I can't reproduce this unless I plug my external monitor into my MBP, taking my horizontal resolution from 2880 to 3840).
Comment 7•6 years ago
|
||
Attachment #9015614 -
Attachment is obsolete: true
Updated•6 years ago
|
Priority: P3 → P1
Updated•6 years ago
|
Blocks: stage-wr-trains
Comment 8•6 years ago
|
||
Simply translating the rounded rectangle to left makes it draw so it seems like this has something to do with being far to the right
Comment 9•6 years ago
|
||
In case it helps, I only see the bug on a HiDPI screen, not on a normal one.
Updated•6 years ago
|
Blocks: 1450015, webrender-site-issues
status-firefox62:
--- → disabled
status-firefox63:
--- → disabled
status-firefox-esr60:
--- → unaffected
status-geckoview62:
--- → disabled
Keywords: regression
OS: Unspecified → All
Summary: Large SVG in google docs clipped incorrectly with WebRender → blob invalidation: Large SVG in google docs clipped incorrectly with WebRender
Comment 10•6 years ago
|
||
So it's looking a bit like this is not a blob image bug. The whole image is painted and appears to be there in the capture. It's just clipped when webrender draws it. I'm going to try to reduce the wr-capture and see where that gets me.
Comment 11•6 years ago
|
||
So it looks like this is a problem with precision. Reducing the scale of the coordinates in a wr-capture makes things draw properly. This suggests that it's unrelated to blob invalidation.
I'm passing it over to Glenn for now.
Assignee: jmuizelaar → gwatson
Summary: blob invalidation: Large SVG in google docs clipped incorrectly with WebRender → Large SVG in google docs clipped incorrectly with WebRender
Assignee | ||
Comment 12•6 years ago
|
||
A fix is here - https://github.com/servo/webrender/pull/3180. I still need to do a try run and reftest before merging though.
Assignee | ||
Comment 13•6 years ago
|
||
The try run looks good, and the patch has landed in WR, so this will be fixed by the next WR update.
Updated•6 years ago
|
Depends on: 1497829
See Also: → https://github.com/servo/webrender/pull/3180
Updated•6 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•