meld-cp / obsidian-encrypt

Hide secrets in your Obsidian.md vault
MIT License
607 stars 36 forks source link

Obsidian freezes when opening Command Palette #35

Closed keving-78 closed 2 years ago

keving-78 commented 2 years ago

Windows 10. Obsidian: v0.13.28 Meld Encrypt: v1.6.0

  1. Turn off "Expand selection to whole line?",
  2. Focus on a note without selecting any text of it,
  3. then hit "Ctrl + Shift + P" to invoke the Command Palette,
  4. The whole Obsidian app just freezes.

It works fine when turning on "Expand selection to whole line?".

meld-cp commented 2 years ago

Hi @keving-78,

I tried to reproduce this on Obsidian: v0.13.33 but was unable to. Could you confirm you are still seeing this issue on a newer version of Obsidian?

meld-cp commented 2 years ago

ok, I'm able to see the issue now. I was testing it with a note which already had encrypted text else where in it and that was working fine. But, if I try it on a note with no previously encrypted text sections it locks up as you mentioned.