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
Note: in our codebase, there are both context.model.readOnly and context.contentsModel.writable but they are not documented and it is not clear how these differ. This duplication could contribute to the problem.
Description
#14600 implements a read-only indicator (see #7980 for design discussion) which works well when opening a read-only file:
There are two situations when this does not work:
Reproduce
With RTC:
chmod 444 notebook.ipynb
Without RTC:
chmod 444 notebook.ipynb
Expected behaviour
The save behaviour is consistent between these situations:
modelStateChanged
signalContext
The text was updated successfully, but these errors were encountered: