Commit 6cc19ee6 authored by Florian Müllner's avatar Florian Müllner

workspacesView: Work around spurious allocation changes

For some reason, people are still seeing those after commit d5ebd8c8.
While this is something we really should figure out, we can work around
the issue by keeping the view actors hidden until the update is complete.

#1065
parent 1570f838
Pipeline #94803 passed with stages
in 10 minutes and 13 seconds
......@@ -638,10 +638,15 @@ var WorkspacesDisplay = class {
this._scrollValueChanged.bind(this));
}
// HACK: Avoid spurious allocation changes while updating views
view.actor.hide();
this._workspacesViews.push(view);
Main.layoutManager.overviewGroup.add_actor(view.actor);
}
this._workspacesViews.forEach(v => v.actor.show());
this._updateWorkspacesFullGeometry();
this._updateWorkspacesActualGeometry();
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment