Closed Bug 1531300 Opened 8 months ago Closed 8 months ago

[Wayland][WebRender] Toggling titlebar produces empty window after Bug 1527804

Categories

(Core :: Graphics: WebRender, defect)

67 Branch
Unspecified
Linux
defect
Not set

Tracking

()

RESOLVED FIXED
mozilla67
Tracking Status
firefox-esr60 --- unaffected
firefox65 --- unaffected
firefox66 --- unaffected
firefox67 --- fixed

People

(Reporter: ke5trel, Assigned: sotaro)

References

(Depends on 1 open bug, Blocks 2 open bugs)

Details

(Keywords: regression)

Attachments

(1 file)

Going into Customize mode and toggling the titlebar on->off or off->on with gfx.webrender.all = true and GDK_BACKWEND=wayland produces an empty window on Ubuntu 18.10.

Regression window:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=ce6cff27290efa10e6e4fe63fe9889633a965fbb&tochange=902743b5cc59aa0835b9e20e5df51e9f1fc529a6

Regressed by Bug 1527804.

Bug 1527804 has also caused the first window on startup to sometimes be empty but it is harder to reliably reproduce than the titlebar issue.

I could reproduce the problem. Thanks for the report!

Assignee: nobody → sotaro.ikeda.g

Bug 1527804 did not expect multiple moz_container_unmap_wayland()/moz_container_map_wayland() calls. inital_draw_cb should not be cleared in multiple moz_container_unmap_wayland().

I confirmed that attachment 9047347 [details] addressed the Toggling titlebar problem.

Pushed by sikeda@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/f3e125164978
Handle multiple moz_container_unmap_wayland()/moz_container_map_wayland() r=stransky
Status: NEW → RESOLVED
Closed: 8 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla67
Depends on: 1584511
You need to log in before you can comment on or make changes to this bug.