LostPaul / obsidian-folder-notes

Create notes within folders that can be accessed without collapsing the folder, similar to the functionality offered in Notion.
https://lostpaul.github.io/obsidian-folder-notes/
GNU Affero General Public License v3.0
264 stars 11 forks source link

[bug] Some folder notes appears after plugin update #59

Closed silentjames closed 6 months ago

silentjames commented 8 months ago

I have a kinda deep folder structure, like down to level 5 or even lower. Some of folders down below have folder notes - and the notes itself always appear after plugin update and after (not sure) reloading the app. The class .is-folder-note is missing for them. At the same time, this never happen with top-level folder notes - they are always hidden. Снимок экрана 2023-11-06 в 20 32 51 Снимок экрана 2023-11-06 в 20 33 28

I'm using macOS Sonoma, and Obsidian 1.4.16 (same installer). Can't exactly name the version of the Folder Notes plugin, because the bug was reproduced even with today's release, 1.6.9.

LostPaul commented 8 months ago

Can you try to replicate it in the sandbox vault? I can't reproduce it at all.

silentjames commented 8 months ago

Well, kinda yes, but only if I copy that same folder into sandbox vault. Don't know what could be the reason - the structure or the filenames... I can upload the example folder here if you want!

LostPaul commented 8 months ago

Well, kinda yes, but only if I copy that same folder into sandbox vault. Don't know what could be the reason - the structure or the filenames... I can upload the example folder here if you want!

Sure

silentjames commented 8 months ago

z_Z Правила.zip Here is the archive. Almost all the files names there are in Russian, so it might be a little bit difficult. You can try this path: z_Z Правила -> VtM v3-v20 -> Дисциплины -> Стойкость, or Стремительность, that's the folders where folder notes always become visible after Obsidian's "reload without saving".

LostPaul commented 7 months ago

z_Z Правила.zip Here is the archive. Almost all the files names there are in Russian, so it might be a little bit difficult. You can try this path: z_Z Правила -> VtM v3-v20 -> Дисциплины -> Стойкость, or Стремительность, that's the folders where folder notes always become visible after Obsidian's "reload without saving".

It seems like mac os did something with the characters because some of them are messed up and I couldn't find the folders you mentioned.

KlHSQf9gxK

silentjames commented 7 months ago

Oh... that looks weird. And even with non-messed names - they shouldn't be where they are now... I made another archive, less files and folder names in English (notes are still in Russian). And the bug can be reproduced - for example, use folder z_Z Rules -> VtM v3-v20 -> Disciplines -> Thaumaturgy -> Path of Blood. Hope it will work this time xD

LostPaul commented 7 months ago

Oh... that looks weird. And even with non-messed names - they shouldn't be where they are now... I made another archive, less files and folder names in English (notes are still in Russian). And the bug can be reproduced - for example, use folder z_Z Rules -> VtM v3-v20 -> Disciplines -> Thaumaturgy -> Path of Blood. Hope it will work this time xD

Where is "z_Z Rules"? I also couldn't find Disciplines anywhere.

silentjames commented 7 months ago

Oh sorry, I forgot to add new archive =\ Shame on me. z_Z Rules.zip

LostPaul commented 7 months ago

I couldn't reproduce it. woc4kau1mCKSbt4Cvfp2

silentjames commented 7 months ago

With this folder, it happens from time to time with folders like "Fortitude" or "Obfuscate", and always with "Path of Blood"... I know it's been going on for two weeks, but could you please try it one more time? I tried to create more folders (copying the same content, but still), and also renamed some notes for better navigation. z_Z Rules.zip The path will be z_Z Rules -> VtM v3-v20 -> Disciplines -> Thaumaturgy -> z_Z Rules -> VtM v3-v20 -> Disciplines. For the folders there (Celerity, Fortitude, Obfuscate, etc) the bug is always replicated for me.

LostPaul commented 7 months ago

It worked for me only when I copied the folder and then looked at the folder notes but after turning the setting to hide the folder notes off and on it works even after I tried to restart Obsidian it still works. Maybe I can try to replicate it somehow or you find it out but currently I can't reproduce it after I've copied the folder into Obsidian.

silentjames commented 7 months ago

Could you please try to delete one of the folder notes there, create new one instead and then reload the Obsidian? Not just restart, but do "Reload app without saving" command? If nothing happens - well, this is the end :)

LostPaul commented 7 months ago

Could you please try to delete one of the folder notes there, create new one instead and then reload the Obsidian? Not just restart, but do "Reload app without saving" command? If nothing happens - well, this is the end :)

Nothing

https://github.com/LostPaul/obsidian-folder-notes/assets/70213368/9bfff0f6-afbd-4896-b156-addc5f3ffe94

silentjames commented 7 months ago

Huh, alright then! Hope you can reproduce it one day - or I can find the exact steps. Thank you for all your efforts, and for the great plugin, of course! ❤️