liamcain / obsidian-calendar-plugin

Simple calendar widget for Obsidian.
MIT License
1.6k stars 135 forks source link

Big 6-second freezes every 2 seconds. #329

Open tsbertalan opened 1 year ago

tsbertalan commented 1 year ago

Before Submitting: Double-check that you are running the latest version of the plugin. The bug might have already been fixed 😄 I'm on "Calendar (Beta) 2.0.0". Reverting to 1.5.10 solved this.

Describe the bug

every two seconds, Obsidian freezes completely (thankfully, not including the debug panel) for about 5 to 6 seconds to run getEvaluatedMetadata

Steps to reproduce

  1. Install Obsidian in a big vault, or maybe just a vault with lots of daily notes?
  2. Open one of the daily notes.
  3. Type -- you won't get far before your the program freezes.
  4. Text isn't lost; everything you typed will appear eventually. But it's frozen 75% of the time.

I tried hiding all of the "sources" in the settings, and that didn't help.

I do not have the problem if the calendar sidebar is showing but I'm not currently editing a daily note file.

Expected behavior

Background tasks should not freeze the UI.

Environment (please specify)

OS

Windows

Obsidian Version (e.g. v0.10.6)

v1.4.13 installer 1.3.5

Theme (if applicable):

default adaptive