kepano / obsidian-minimal

A distraction-free and highly customizable theme for Obsidian.
https://minimal.guide
MIT License
3.69k stars 184 forks source link

Canvas performance #794

Open AcroCatabro opened 1 day ago

AcroCatabro commented 1 day ago

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:

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

kepano commented 23 hours ago

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.