Canvas element sometimes invisible
Categories
(Core :: Graphics: Canvas2D, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr91 | --- | unaffected |
firefox-esr102 | --- | disabled |
firefox103 | --- | disabled |
firefox104 | --- | disabled |
firefox105 | --- | affected |
People
(Reporter: jonrandy, Unassigned)
References
(Blocks 1 open bug, Regression)
Details
(Keywords: regression)
Attachments
(2 files)
2.88 MB,
video/mp4
|
Details | |
970 bytes,
patch
|
Details | Diff | Splinter Review |
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:104.0) Gecko/20100101 Firefox/104.0
Steps to reproduce:
Load a page with a dynamically created canvas. See https://codepen.io/jonrandy/full/ExQpZMy for an example
Actual results:
Sometimes the canvas does not appear, although previews of the canvas (when dragging a tab or hovering over the canvas in the inspector) indicate that the canvas is working. Duplicating the problematic tab seems to resolve the issue every time
Expected results:
The canvas should work as expected every time - like it does in the main Firefox release and in other browsers
Comment 1•2 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'DevTools::Inspector' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Updated•2 years ago
|
Comment 2•2 years ago
|
||
Confirmed with mozregression to be caused by bug 1770088.
Thanks for the bug report, Jon. This appears to be due to switching on our new experimental GPU-accelerated canvas renderer in nightly. While we work on a fix, you can switch back to the old canvas renderer by setting gfx.canvas.accelerated
to false
in about:config.
Updated•2 years ago
|
Thanks for the workaround. It's been making development somewhat awkward for me. Looking forward to a fix
Comment 4•2 years ago
|
||
With the temporal patch, the problem was addressed for me.
From it, DrawTargetWebgl::mWebglValid might not be updated as expected.
Comment 5•2 years ago
|
||
Set release status flags based on info from the regressing bug 1770088
Updated•2 years ago
|
Comment 6•2 years ago
|
||
The bug has a release status flag that shows some version of Firefox is affected, thus it will be considered confirmed.
Comment 7•2 years ago
|
||
Can you please attach your "about:support" information? I am having trouble reproducing this.
Comment 8•2 years ago
|
||
Okay, I figured out why I was having trouble reproducing this, because I already fixed it locally... :)
Duping this to bug 1782443 which will fix it.
Description
•