# Explicitly restore multi-workspace's project groups and active workspace when restoring a window \(\#53217\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/ea5a5729bfdcb4c662698764f160a4c85c93bf2a)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: ea5a5729bfdcb4c662698764f160a4c85c93bf2a

Requested commit: ea5a5729bfdcb4c662698764f160a4c85c93bf2a

Commit: ea5a5729bfdcb4c662698764f160a4c85c93bf2a

Tree: 9f7fe4db19f1ec6e42d8103f0bf8f90140376f35

Author: Max Brunsfeld

Committer: GitHub

## Message

```
Explicitly restore multi-workspace's project groups and active workspace when restoring a window (#53217)

This PR stops us from eagerly restoring multiple workspaces when
re-opening a window. It also should make us reliably return to the right
workspace, with the right groups in the sidebar.

There is still more work needed on our workspace persistence, especially
making remote workspaces behave more consistently with local workspaces
with respect to the sidebar. We can tackle that in follow-up PRs.

Release Notes:

- N/A
```

## Parents

- [c0f01c42788ff13774853aa9dad2c18907a0ec3c](https://git.cafe/gitcafe/zed/commit/c0f01c42788ff13774853aa9dad2c18907a0ec3c?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/ea5a5729bfdcb4c662698764f160a4c85c93bf2a?format=markdown)
