You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I open a file twice, with two different schemas in the same Lab session with Collaboration enabled, I see a warning:
Two collaborative sessions are accessing the file (name) simultaneously. Opening a document with multiple views simultaneously is not supported. Please close one view; otherwise, you might lose some of your progress.
Reproduce
Create a notebook, foo.ipynb. Save it. Leave it open.
Right-click on foo.ipynb in the file browser. Hover over "Open With", and click "Editor."
The notebook opens in what looks like a text file editor. The warning message above appears.
Expected behavior
Either the open operation fails entirely with a message that the file is already open, or the file opens without a warning of any sort.
Personally, I think it would be acceptable to, when Jupyter Collaboration is installed, reject opening the same file more than once, with different schemas.
Context
This warning was first seen in #245, when creating a new file.
Opening the same notebook in two separate browser tabs/windows does not cause this error.
The text was updated successfully, but these errors were encountered:
When opening the same file a second time, is it feasible to detect that the file is already open in a read/write editor, and force the second editor to be read-only?
I think that would complicate the picture. I would rather make it possible to collaborate between different views, as I tried to explain in jupyter-server/jupyter_ydoc#15.
Description
When I open a file twice, with two different schemas in the same Lab session with Collaboration enabled, I see a warning:
Reproduce
foo.ipynb
. Save it. Leave it open.foo.ipynb
in the file browser. Hover over "Open With", and click "Editor."Expected behavior
Either the open operation fails entirely with a message that the file is already open, or the file opens without a warning of any sort.
Personally, I think it would be acceptable to, when Jupyter Collaboration is installed, reject opening the same file more than once, with different schemas.
Context
This warning was first seen in #245, when creating a new file.
Opening the same notebook in two separate browser tabs/windows does not cause this error.
The text was updated successfully, but these errors were encountered: