Open jensmcatanho opened 4 years ago
Can confirm that lots of LaTeX increases computation/rendering time immensely. Typing in this specific note takes about 3-4 GHz to render while typing.
We probably need some improvements to rendering LaTeX. Such as caching those parts and/or doing smart analysis of where one is typing to not re-render those parts.
Another part that would help here is to detach the rendering of the editor from the preview. That way you can still see your edits, and we could display something when rendering is taking more than a tenth of a second (or something).
@Flexo013 Please add a different label for the platform: Linux, Browser, Android and IOS.
This version of Boostnote (Legacy) does not have a browser or mobile app version. It only runs on Linux, MacOS, and Windows.
I have reproduced the behavior that you (Mac) reported on my Windows and Linux systems. So the issue of lag for these notes is platform independent.
the pastebin link to the code no longer exists, so i can't check to see if the problem still occurs with the latest version of boostnote for windows
@jensmcatanho Could you provide another copy of the note?
Sorry for the delay. I'm not sure if this was the original note but I was able to reproduce the problem with it.
Current behavior
I'm currently experiencing lag when typing on notes that have a lot of lines, including LaTeX and/or diagrams. Here's a video of this behavior and the note used on the video.
Might be related with issue #2541
Expected behavior
The text should not take a few seconds to render after I type.
Environment