-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Code Editor out of Sync" triggered by "duplicate cell" button of new toolbar #13686
Comments
Hi @fperez ! Trying to reproduce this bug using python code for doubly linked list. Could you please give some idea about the complexity of the notebook you are seeing it with (if you can upload it, it would be even better)? Could you please also do the steps below that would help to understand the environment better?
Thank you! Context:
|
Hi @andrii-i - unfortunately it was a grading notebook full of student information in the code itself, so I'm afraid I can't share it. But it was fairly long (O(100+) code cells + text). Here's the info:
|
Description
I know the 'editor out of sync' issue has been a long-standing problem (cf #2951). I think I've found a semi-reliable way to trigger it, so I'm opening it here as a new issue as it may also be related to the new toolbar.
Reproduce
It's not 100% reproducible, but this week I've had several instances where, in a complex notebook, if I use the "duplicate cells" button of the new cell toolbar (which I find very useful, btw!):
Then, once I start editing one of the two copies (not sure if it makes a difference which), within a few seconds I get the "code editor out of sync" pop-up.
I hope this gives either some pointers to track this further, as the "out of sync" condition is pretty nasty. Aside, I'd suggest the popup should also instruct the user to immediately save their notebook and entirely reload their session, b/c the first time I didn't and I found out later the notebook was weirdly different than what I thought I'd edited.
Context
Console error output below, as suggested by the pop-up.
Browser Output
The text was updated successfully, but these errors were encountered: