-
Notifications
You must be signed in to change notification settings - Fork 77
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
(Bug report)【A rather serious issue】 The notes are experiencing automatic snapshot recovery, and the edited content does not have any historical records. #831
Comments
The entire application itself did not encounter any errors, and when switching notes, it seemed like the cache of edited content was lost and the information was not successfully saved. You can imagine if you have been working hard for over an hour, and the act of switching notes results in all content being lost and becoming blank. |
Moreover, it seems that the entire snapshot function does not take snapshots when switching to other notes or when not selected, and there is no way to manually take snapshots. |
|
We are using the Windows portable client |
During the process of checking the logs, I found some other errors, so I decided to send all the logs. |
I hope it can help you solve the problem. |
@nvcutrb , most likely you have run into a CKEditor (the text editor library we are using) failure. This issue is very hard to reproduce and we haven't been able to reproduce it yet, generally it happens when you copy-paste. The data loss is caused by the editor no longer providing us with the changes; there is a protection in place but it seems that for you it failed. Also it seems to have a syntax highlighting widget, could you please get rid of it? TriliumNext includes built-in syntax highlight, any external module might interfere with it:
The name of the note you need to remove is "SyntaxHighlightWidget 代码高亮组件". There's no guarantee it's the cause of error, but it should help us rule any external factors. Let us know if you encounter this issue again. |
Okay, I'll disable this component first and use it for a while later.
|
Possible dupe of #454? Is there a way to do a custom local build of My thought is that we could try to get a repro working with some additional logging in CKEditor, and then possibly find better ways of detecting this sort of case. I don't have a repro yet, but it seems that it would be progress even to have a "fake" repro where we induce in a crash in CKEditor to force this state. |
Description
After editing the current note, switch to another note first, and then switch back to find that the content of the note has returned to the way it was edited at the beginning, as if a snapshot has been restored.
TriliumNext Version
v0.90.12
What operating system are you using?
Windows
What is your setup?
Local (no sync)
Operating System Version
Windows 10 pro
Error logs
No response
The text was updated successfully, but these errors were encountered: