Steps to reproduce
Create a canvas, add a bunch of images and zoom out. The more, the more noticeable effect will be. Copies of a single image work as well.
Did you follow the troubleshooting guide? [Y/N]
Y
Expected result
Good performance when trying to navigate the canvas.
Actual result
Severe lags when trying to navigate the canvas.
Environment
SYSTEM INFO:
Obsidian version: v1.7.4
Installer version: v1.4.13
Operating system: Windows 10 Pro 10.0.22631 (what? I'm on Windows 11 🤷♂️)
Login status: not logged in
Language: en
Insider build toggle: off
Live preview: on
Base theme: dark
Community theme: none
Snippets enabled: 2
Restricted mode: off
Plugins installed: 8
Plugins enabled: 8
1: Telegram Sync v3.1.0
2: Emoji Shortcodes v2.2.0
3: Excalidraw v2.0.18
4: Janitor v1.0.7
5: Paste URL into selection v1.7.0
6: Simple CanvaSearch v0.1.0
7: Tray v0.3.5
8: Canvas Link Optimizer v1.3.0
Additional information
Actually I’m a plugin developer and was looking to improve performance on canvases with a lot of images. This is how I’ve stumbled across a bug in Obsidian code that was ruining the performance. Upon deeper investigation I’ve discovered another issue. So, there’s actually 2 issues.
I’ve made a plugin that resolves both of them GitHub - Qbject/obsidian-canvas-performance-patch: Fix issues with canvas performance.. I’m not going to submit it to the plugin library, it’s more of a demo to make it easier for developers to fix the issues. The readme file contains more technical information. I hope it helps.