Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Canvas performance #794

Open
AcroCatabro opened this issue Oct 20, 2024 · 1 comment
Open

Canvas performance #794

AcroCatabro opened this issue Oct 20, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@AcroCatabro
Copy link

Is the bug present when using the default Obsidian theme?

No

Is the bug present when snippets and plugins are disabled?

Yes

Minimal theme version

7.7.18

Describe the bug

Significant performance drop in Canvas when using Minimal Theme 7.7.18, specifically when you have a note or image added to the board.
The bug is not present in the default Obsidian theme. In fact, there's a significant performance boost in Canvas when using the default Obsidian theme.

Steps to reproduce:

  • Create a canvas file
  • Add 3-4 images and 1-2 notes to the canvas
  • Try zooming or panning
  • There should be a stutter when in/out and a generally low performance when panning.

Debug info

SYSTEM INFO:
Obsidian version: v1.7.4
Installer version: v1.5.3
Operating system: Windows 10 Pro 10.0.19045
Login status: not logged in
Language: en
Insider build toggle: off
Live preview: off
Base theme: adapt to system
Community theme: Minimal v7.7.18
Snippets enabled: 0
Restricted mode: off
Plugins installed: 11
Plugins enabled: 0

@AcroCatabro AcroCatabro added the bug Something isn't working label Oct 20, 2024
@kepano
Copy link
Owner

kepano commented Oct 20, 2024

The performance of Minimal has not changed, rather it is the performance of the default theme that improved. Obsidian 1.7 included changes to the default theme to speed up Canvas. It is related to reducing the use of :has. Unfortunately Minimal makes heavy use of :has for the block width features so it will be harder to swap out. I will try to do so when I get some time.

@kepano kepano changed the title Canvas performance drop after update to Obsidian 1.7.4 Canvas performance Oct 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants