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
Currently, even when the markdown preview is hidden, notes rerender. For long notes (e.g. the one created to test this issue), this can freeze the UI for 1-2 seconds while rendering happens, interrupting typing.
This happens both with the legacy and beta markdown editors.
Expected behaviour
Joplin should not rerender notes when the note preview pane is not visible.
Logs
CodeMirror 6 editor:
Console was cleared
undefined
main-html.js:54 08:44:39: Saving note... {id: '76b44d666f8240f0a13900f25d919eb9', parent_id: '03f60d453a054b01b163c27174451fa8', title: 'Long', body: 'The Project Gutenberg eBook of Frankenstein; Or, T…our email newsletter to hear about new eBooks.\n\n\n'}
main-html.js:54 08:44:39: Scheduling sync operation... 15000
main-html.js:54 Rerender
main-html.js:54 08:44:40: Saving note... {id: '76b44d666f8240f0a13900f25d919eb9', parent_id: '03f60d453a054b01b163c27174451fa8', title: 'Long', body: 'The Project Gutenberg eBook of Frankenstein; Or, T…our email newsletter to hear about new eBooks.\n\n\n'}
main-html.js:54 08:44:41: Scheduling sync operation... 15000
main-html.js:54 08:44:42: Saving note... {id: '76b44d666f8240f0a13900f25d919eb9', parent_id: '03f60d453a054b01b163c27174451fa8', title: 'Long', body: 'The Project Gutenberg eBook of Frankenstein; Or, T…our email newsletter to hear about new eBooks.\n\n\n'}
main-html.js:54 08:44:42: Scheduling sync operation... 15000
main-html.js:54 Rerender
lib.js:205 [Violation] 'message' handler took 4914ms
[Violation] Forced reflow while executing JavaScript took 4745ms
main-html.js:54 Got ipc-message: noteRenderComplete undefined
main-html.js:54 08:44:49: Saving note... {id: '76b44d666f8240f0a13900f25d919eb9', parent_id: '03f60d453a054b01b163c27174451fa8', title: 'Long', body: 'The Project Gutenberg eBook of Frankenstein; Or, T…our email newsletter to hear about new eBooks.\n\n\n'}
main-html.js:54 08:44:49: SearchEngine: Updating FTS table...
main-html.js:54 08:44:49: Scheduling sync operation... 15000
main-html.js:54 Rerender
lib.js:205 [Violation] 'message' handler took 5063ms
[Violation] Forced reflow while executing JavaScript took 4909ms
main-html.js:54 Got ipc-message: noteRenderComplete undefined
CodeMirror 5 editor:
Console was cleared
undefined
main-html.js:54 08:46:24: models/Setting: Settings have been saved.
main-html.js:54 08:46:28: Saving note... {id: '76b44d666f8240f0a13900f25d919eb9', parent_id: '03f60d453a054b01b163c27174451fa8', title: 'Long', body: 'The Project Gutenberg eBook of Frankenstein; Or, T…our email newsletter to hear about new eBooks.\n\n\n'}
main-html.js:54 08:46:29: Scheduling sync operation... 15000
main-html.js:54 08:46:29: Saving note... {id: '76b44d666f8240f0a13900f25d919eb9', parent_id: '03f60d453a054b01b163c27174451fa8', title: 'Long', body: 'The Project Gutenberg eBook of Frankenstein; Or, T…our email newsletter to hear about new eBooks.\n\n\n'}
main-html.js:54 08:46:29: Scheduling sync operation... 15000
main-html.js:54 rerender (v5)
lib.js:205 [Violation] 'message' handler took 4927ms
[Violation] Forced reflow while executing JavaScript took 4783ms
main-html.js:54 08:46:36: ResourceService::indexNoteResources: Start
main-html.js:54 08:46:36: Saving note... {id: '76b44d666f8240f0a13900f25d919eb9', parent_id: '03f60d453a054b01b163c27174451fa8', title: 'Long', body: 'The Project Gutenberg eBook of Frankenstein; Or, T…our email newsletter to hear about new eBooks.\n\n\n'}
main-html.js:54 Got ipc-message: noteRenderComplete undefined
main-html.js:54 rerender (v5)
main-html.js:54 08:46:37: Scheduling sync operation... 15000
main-html.js:54 08:46:37: models/Setting: Saving settings...
main-html.js:54 08:46:37: models/Setting: Settings have been saved.
main-html.js:54 08:46:37: ResourceService::indexNoteResources: Completed
main-html.js:54 08:46:37: ResourceService::deleteOrphanResources:
main-html.js:54 08:46:38: Saving note... {id: '76b44d666f8240f0a13900f25d919eb9', parent_id: '03f60d453a054b01b163c27174451fa8', title: 'Long', body: 'The Project Gutenberg eBook of Frankenstein; Or, T…our email newsletter to hear about new eBooks.\n\n\n'}
main-html.js:54 08:46:38: Scheduling sync operation... 15000
main-html.js:54 08:46:39: SearchEngine: Updating FTS table...
main-html.js:54 rerender (v5)
lib.js:205 [Violation] 'message' handler took 5174ms
[Violation] Forced reflow while executing JavaScript took 5003ms
main-html.js:54 Got ipc-message: noteRenderComplete undefined
The text was updated successfully, but these errors were encountered:
Operating system
Linux
Joplin version
2.14.12
Desktop version info
No response
Current behaviour
Currently, even when the markdown preview is hidden, notes rerender. For long notes (e.g. the one created to test this issue), this can freeze the UI for 1-2 seconds while rendering happens, interrupting typing.
This happens both with the legacy and beta markdown editors.
Expected behaviour
Joplin should not rerender notes when the note preview pane is not visible.
Logs
CodeMirror 6 editor:
CodeMirror 5 editor:
The text was updated successfully, but these errors were encountered: