Overview gets broken by subsurface changes
Certain Wayland subsurface actions such as deletion or reoredering appear to confuse and break the overview. This was observed with a new experimental Firefox Webrender backend[1]. Not exactly sure if it`s a GS or Mutter issue - it might have to do with Clutter clones not handling things well. This is on latest git master.
STR:
git clone https://github.com/servo/webrender.git
cd webrender/example-compositor/compositor
cargo run native large swap 1300 520
Then open and close the overview.
I get a lot of the following errors:
cogl_framebuffer_set_viewport: assertion 'width > 0 && height > 0' failed
Can't update stage views actor <overviewGroup>[<StWidget>:0x3103080] is on because it needs an allocation.
Can't update stage views actor <overview>[<Gjs_ui_overview_OverviewActor>:0x480ebc0] is on because it needs an allocation.
Can't update stage views actor <unnamed>[<Gjs_ui_overviewControls_ControlsManager>:0x4820650] is on because it needs an allocation.
Can't update stage views actor <unnamed>[<Gjs_ui_workspacesView_WorkspacesDisplay>:0x4991dd0] is on because it needs an allocation.
Can't update stage views actor <unnamed>[<Gjs_ui_workspacesView_WorkspacesView>:0x1d7f9620] is on because it needs an allocation.
Can't update stage views actor <unnamed>[<Gjs_ui_workspace_Workspace>:0x1f04c7a0] is on because it needs an allocation.
Can't update stage views actor <unnamed>[<ClutterActor>:0x1e67eb10] is on because it needs an allocation.
Can't update stage views actor <unnamed>[<Gjs_ui_windowPreview_WindowPreview>:0x1df3f300] is on because it needs an allocation.
Can't update stage views actor <unnamed>[<StLabel>:0x1df3fc30] is on because it needs an allocation.
Can't update stage views actor <unnamed>[<ClutterText>:0x1df40100] is on because it needs an allocation.
Can't update stage views actor <unnamed>[<StButton>:0x1c557c10] is on because it needs an allocation.
Can't update stage views actor <unnamed>[<StIcon>:0x1df40ac0] is on because it needs an allocation.
Can't update stage views actor <unnamed>[<ClutterActor>:0x1e5afe70] is on because it needs an allocation.
cogl_framebuffer_set_viewport: assertion 'width > 0 && height > 0' failed
1: https://bugzilla.mozilla.org/show_bug.cgi?id=1695500
See also: https://bugzilla.mozilla.org/show_bug.cgi?id=1699754