Make open panes resilient to filename change outside Obsidian

Steps to reproduce

  1. Open a note
  2. Go to your OS filesystem
  3. Rename or move file

Expected result

Obsidian would update automatically and keep the note in the pane.

Actual result

The pane is empty.

Environment

  • Operating system: Windows 10
  • Obsidian version: 0.8.13

Additional information

2 Likes

Is this new or it used to work?

It has never worked for me. I have some external scripts that move and rename files as I’m working with them.

I mentioned some weird things regarding to the filesystem.
This is real under the hood stuff for the developers.
I guess (assumption) they are using OS hooks to see if a file is created/changes/whatever and that sometimes the handling doesn’t go as smooth as we want it to be.
Other assumption would be somewhere in the caching mechanism.
I noticed for Graphs it takes a while to have the Graph fully finished although the files are already created a few seconds before (see also my showcase on 800K+ node test)

I suspect it’s as simple as updating the workspace when the file path changes

I feel this is more feature request than a bug report