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
When editing, Joplin waits for you to stop typing, and then renders the new markdown in the right panel. When the markdown is "heavy" to render (lots of katex and mermaid), the rendering can take up to one second on my computer.
During this time the editor hangs so every time you stop typing for a couple seconds and then resume, you can't type anymore for a brief moment. It's really frustrating.
Expected behaviour
Joplin's editor doesn't hang when rendering.
Taking a shot in the dark, I would say the problem is that the rendering panel uses the same thread as the editor. If true, a solution would be asynchronous rendering.
A simple mitigation that eliminates the problem is to have an option to disable automatic rendering, and allow manual rendering through a button.
I'm not familiar with electron apps so I don't know how to benchmark this, but once I have some data I will post it here. Maybe the problem is not the rendering.
Logs
None yet.
The text was updated successfully, but these errors were encountered:
All my notes are causing the issue, because I use a lot of math. Here is an example file that is really pathological, but should highlight the issue: example.md
Thanks for trying to address this. Please keep in mind that a powerful computer could be mitigating the problem.
It's not obvious what might be the issue. As I was expecting rendering is actually fast because we cache all these math formulas. So it's something else, maybe the editor, or maybe Electron taking time to display the HTML content, although that would be surprising.
Operating system
Linux
Joplin version
3.0.6
Desktop version info
Joplin 3.0.6 (prod, linux)
ID del Client: f9d2e9edf10e4f5dac96202b4820f0bf
Sinc. versione: 3
Profilo versione: 47
Portachiavi supportato: No
Revisione: 18b9f5c
Current behaviour
When editing, Joplin waits for you to stop typing, and then renders the new markdown in the right panel. When the markdown is "heavy" to render (lots of katex and mermaid), the rendering can take up to one second on my computer.
During this time the editor hangs so every time you stop typing for a couple seconds and then resume, you can't type anymore for a brief moment. It's really frustrating.
Expected behaviour
Joplin's editor doesn't hang when rendering.
Taking a shot in the dark, I would say the problem is that the rendering panel uses the same thread as the editor. If true, a solution would be asynchronous rendering.
A simple mitigation that eliminates the problem is to have an option to disable automatic rendering, and allow manual rendering through a button.
I'm not familiar with electron apps so I don't know how to benchmark this, but once I have some data I will post it here. Maybe the problem is not the rendering.
Logs
None yet.
The text was updated successfully, but these errors were encountered: