obsidian-folder-notes icon indicating copy to clipboard operation
obsidian-folder-notes copied to clipboard

Adding new file with same name as folder in external file browser will cause desync (file not merged with folder with underlined name)

Open hsandt opened this issue 9 months ago • 3 comments

Repro:

  1. Open Obsidian Sandbox and install Lost Paul Folder Notes plugin
  2. Open sandbox in external file browser (right-click any note > Show in system explorer)
  3. Create new file Formatting.md (to match Formatting folder)
  4. See how Formatting folder and notes stay separated

Note 1: I also tried different Folder note name in options such as _{{folder_name}} and _Formatting.md but it still didn't merge. Note 2: Restarting Obsidian fixes the issue

Image

hsandt avatar Mar 12 '25 14:03 hsandt

This also happens randomly in some of my folders even if the files already existed on start. Apparently jumping to a page directly via Quick Search may trigger the issue.

Image

When also using plugin "Customer File Explorer Sorting" to sort files and folders alphabetically together, this becomes quite apparent:

Image

I disabled "Customer File Explorer Sorting" plugin and the issue remained on that session, but I don't remember if it occurred because I installed that plugin (which makes it difficult if it's a cross-plugin bug).

However if you fix the main bug in the OP by doing a full check on vault opening and then checking for every file change, chances are it will fix it in all situations anyway.

Note: as in the OP, after restarting Obsidian, the bug is fixed (after a few seconds, the plugins will activate and update the view)

hsandt avatar Apr 15 '25 11:04 hsandt

Does this still happen with the latest beta version?

LostPaul avatar Jun 11 '25 09:06 LostPaul

I have the same issue, happens both with file sync and manually creating folder notes outside of obsidian.

techy-robot avatar Jul 09 '25 23:07 techy-robot