Skip to content
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

Application should start in safe mode after a crash #8742

Closed
laurent22 opened this issue Aug 28, 2023 · 0 comments · Fixed by #9153
Closed

Application should start in safe mode after a crash #8742

laurent22 opened this issue Aug 28, 2023 · 0 comments · Fixed by #9153
Assignees
Labels
desktop All desktop platforms enhancement Feature requests and code enhancements medium Medium priority issues

Comments

@laurent22
Copy link
Owner

For example if this note is loaded:

https://github.com/laurent22/joplin/files/12407306/bloated.note.-.inline.jex.zip

It is going to freeze the application as CodeMirror parses the large Base64 image. If the user force quit the application, and reopen it, it will freeze again because the same note will still be open.

We should do two things:

  • After a crash or force-quit, the app should start in safe mode

  • In safe mode, the app should load the note in a simple textarea component. The other editors should not load. We have a packages/app-desktop/gui/NoteEditor/NoteBody/PlainEditor/PlainEditor_tsx.txt which renders a plain text editor, which perhaps can be used for this. It used to work but it was a long time ago.

It was also suggest to start the app with no notes being selected but the problem is that as soon as the user switches to a notebook a note will be automatically selected, which may crash the app again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
desktop All desktop platforms enhancement Feature requests and code enhancements medium Medium priority issues
Projects
None yet
2 participants