delashum / obsidian-checklist-plugin

MIT License
376 stars 39 forks source link

Bug: Checking feature on and off led to Obsidian freezing #143

Open stoweboyd opened 1 year ago

stoweboyd commented 1 year ago

Checking feature on and off led to Obsidian freezing. I deleted the tag todo, and then clicked show all todos in file on and then off. Obsidian froze. I restarted and it was still frozen. I had to remove the plugin folder from the vault, and all's well.

flankstaek commented 1 year ago

I'm not able to replicate this bug. Roughly how big is your vault/how many tasks are present?

It's possible that it was just struggling to load. If you're able to replicate again can you repeat the process with the Developer Console open (Ctrl+Shift+I/Cmd+Shift+I) and screenshot any errors that appear?

GhislaineDeF commented 1 year ago

I'm having the a very similar or possibly the same issue.

If I delete the "todo" in the Tag name field to leave it empty, I first notice this message:

If I then put "todo" back in the field it stays the same and doesn't show any tasks any more.

Strangely, Obsidian also immediately stops being able to open any new files, so whether I use Ctrl+O or click a file in the folder structure on the left, it will not open. I am also unable to uninstall any plugins from within the app, and after a few minutes Obsidian eventually freezes and crashes. The only fix is to delete the plugin folder manually and reinstall it, which makes all the errors I described disappear. I've reproduced this behavior several times with all other plugins disabled, no other settings changed from the default for the checklist plugin. I opened the Developer Console as requested and didn't see any errors appear after setting the Tag name to empty.

I have about 1000-ish files in my vault, including PDFs, photos, videos, and all kinds of other formats. There are only a few dozen tasks.

Anyway, thanks for the useful plugin!

oscartorres-10 commented 5 months ago

created similar but more detailed issue here: #188