Typing in the md file at this time will result in noticeable lag and stuttering.
Did you follow the troubleshooting guide? [Y/N]
Y
Expected result
Improve editing performance in the canvas.
Actual result
You can find that if we are in the same window’s canvas tab, that is, having both the markdown file tab and the canvas tab referencing it at the same time, it won’t affect performance. However, if it’s opened in a new window, it will significantly affect performance.
Environment
SYSTEM INFO:
Obsidian version: v1.7.4
Installer version: v1.7.4
Operating system: Windows 10 Pro for Workstations 10.0.19045
Login status: logged in
Language: zh
Catalyst license: insider
Insider build toggle: on
Live preview: on
Base theme: adapt to system
Community theme: none
Snippets enabled: 0
Restricted mode: on
I checked this. Here the problem is not the canvas per se but the specific note you are using.
You have one single giant list that needs to be processed and rendered in a single shot. Usually obsidian readers only the blocks that are visible on screen, but you have one single block. I suggest you break your list down into multiple shorter lists.
I’ve uploaded a video here for you to watch. You can see that if canvas is not open or running in the background, the input is very smooth. It’s only when the canvas page and the markdown (md) page are displayed simultaneously that this issue occurs. I’ve also tested two markdown files’ pages, and they don’t lag. I think the lag is caused by the canvas, or perhaps the processing logic of the canvas is different from that of the markdown editor?
Thank you very much for your professional explanation. I hadn’t noticed this before! It’s okay, you have more important things to do. I always thought it was a performance issue with the canvas and that their logic was different, but it seems to be caused by the reading view. I don’t quite understand, would it be better if the canvas could change the editing mode? Anyway, as far as I can see, the canvas doesn’t have a source code mode.