zed-industries / zed

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
https://zed.dev
Other
50.08k stars 3.07k forks source link

Infinite loading spinner upon lost collaborative session #5708

Closed fdionisi closed 2 years ago

fdionisi commented 2 years ago

Check for existing issues

Describe the bug

As participant in a collaborative session, when connection is lost, Zed freezes and the rainbow spinner appears until you force close the editor.

Note: Host opened the application from the dmg, without copy/past in Applications/ folder.

To reproduce

  1. Join a collaborative session
  2. Get kicked out from the session (e.g. host closes the editor)

Expected behavior

Notification that the session has been lost appears and application doesn't freeze.

Environment

Zed 0.53.1 – /Applications/Zed.app macOS 12.5.1 architecture arm64

If applicable, add mockups / screenshots to help explain present your vision of the feature

No response

If applicable, attach your ~/Library/Logs/Zed/Zed.log file to this issue

No response

Kethku commented 2 years ago

This should be fixed in the next release