-
Notifications
You must be signed in to change notification settings - Fork 126
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
(Bug report) Canvas/Excalidraw note slows down considerably with many images #967
Comments
@CyberFoxar , thanks for the analysis. I can reproduce the issue. There are two problems in here that we will need to deal with, but might require some time in order to do so:
|
@CyberFoxar , I've found a simple fix that seems to do the trick. |
@eliandoran seems to be resolved ! Thanks ! |
@CyberFoxar , thanks for testing. Glad that it was fixed, even if there are some occasional stutters. In the future we'll probably deal with the attachment saving as well, which should allow working with really big diagrams. |
Description
Description
When making a Canvas Note and adding a few images on it, the interactions become sloggish and unresponsive.
I'm using a Canvas note as a moodboard/reference stash for a character-building project. It's great for quickly referencing pictures and visually organizing stuff. As such, my canvas notes quickly become crowded with pictures of various sizes with arrows and blurbs of text everywhere (see the example file)
Steps to reproduce
Or you can use the example file (hosted on my personal cloud, as github won't let me upload the 20.8 Mb file for some reason). This represents my actual use-case, and might be a bit overkill, but might make a good test case.
To reproduce using this file here's how:
Additional notes
This does not seem to be an Excalidraw issue, as using the website itself (https://excalidraw.com/) and loading the file there on firefox 134 does not show any slow downs or similar issues as in Trilium.
From a cursory code inspection of the canvas widget, as well as looking at the backend log (see below), I believe this might come from too many concurent saves, or too many changes trying to be persisted at once. I might be mistaken, however, hence this issue.
TriliumNext Version
0.90.12
What operating system are you using?
Windows
What is your setup?
Local + server sync
Operating System Version
Windows 11 Pro 64bit, Update 24H2, Build 26100.2605
Error logs
No response
The text was updated successfully, but these errors were encountered: