[Wayland][WebRender] Toggling titlebar breaks remote content rendering for existing tabs
Categories
(Core :: Graphics: WebRender, defect, P3)
Tracking
()
People
(Reporter: ke5trel, Assigned: sotaro)
References
(Blocks 2 open bugs)
Details
(Whiteboard: [keep-open])
Attachments
(2 files)
STR.
- Enable
gfx.webrender.all
andMOZ_ENABLE_WAYLAND=true
on Ubuntu 19.04. - Visit a website.
- Go into Customize and toggle the titlebar.
Content rendering breaks for existing tabs, shows permanent spinning wheel. New tabs unaffected.
Not a regression and reproducible back to Bug 1531300.
Comment 1•5 years ago
|
||
The priority flag is not set for this bug.
:jbonisteel, could you have a look please?
For more information, please visit auto_nag documentation.
Updated•5 years ago
|
Updated•5 years ago
|
Assignee | ||
Comment 2•5 years ago
•
|
||
I could also reproduce the problem on Ubuntu 18.04 and on Ubuntu 19.04. When the titlebar was toggled, nsWindow::HideWaylandWindow() was called and CompositorSession was re-created. It caused the problem. To address the problem, WebRenderBridgeChild in child process needs to be re-created for new root WebRenderBridgeParent, since WebRenderBridgeParent::UpdateWebRender() does not work for this use case.
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 3•5 years ago
|
||
Comment 5•5 years ago
|
||
bugherder |
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Updated•5 years ago
|
Updated•5 years ago
|
Assignee | ||
Comment 6•5 years ago
|
||
The patch had 2 problems.
- nsWindow::HideWaylandWindow() is called just during closing a window.
- GPUProcessManager::Get()->ResetCompositors() updates all compositor. But it does not set "mCompositorInitiallyPaused = true" to all widget.
Comment 8•5 years ago
|
||
bugherder |
Updated•5 years ago
|
Assignee | ||
Comment 9•5 years ago
|
||
On latest nightly, toggling titlebar does not work by Bug 1596709.
Assignee | ||
Comment 10•5 years ago
|
||
Bug 1542808 seemed to make the symptom worse.
Assignee | ||
Comment 11•5 years ago
|
||
The problem was addressed in latest nightly for me.
Reporter | ||
Comment 12•5 years ago
|
||
It is working for me as well and also with widget.wayland_vsync.enabled = true
.
Fixed by Bug 1597861.
Assignee | ||
Comment 13•5 years ago
|
||
Great, thank you!
Description
•