Image is still being shown despite being deleted

Steps to reproduce

  • In Obsidian, open up the sandbox vault.
  • Open up the sandbox vault also in system explorer.
  • Put an image file there, say pic.jpg
  • Return to Obsidian.
  • In the “Start Here” page, add a link to that file, like so: ![](pic.jpg)
  • Look at the image and admire it.
  • Now go back to system explorer, and delete the image file.
  • Return to Obsidian.

Did you follow the troubleshooting guide? [Y/N]

Yes, yes, yes.

Expected result

You should not be able to see the image. You should be seeing a generic broken image link icon instead, because that image does not exist. It’s passed on! This image is no more! It has ceased to be! It’s expired and gone to meet its maker! This is a late image! It’s a stiff! Bereft of life! It rests in peace! If you hadn’t nailed it to the perch, it would be pushing up the daisies! It’s run down the curtain and joined the choir invisible! THIS IS AN EX-IMAGE!

Actual result

You can still see the image.
As if it still exists.

Environment

SYSTEM INFO:
Obsidian version: v1.9.14
Installer version: v1.9.12
Operating system: Windows 10 Pro 10.0.19045
Login status: not logged in
Language: en
Insider build toggle: off
Live preview: on
Base theme: adapt to system
Community theme: none
Snippets enabled: 0
Restricted mode: on

RECOMMENDATIONS:
none


Additional information

This problem was discovered and mentioned in a comment under another bug report: Links break when moving/renaming linked files - #8 by CawlinTeffid but I suppose it deserves a bug report of its own.

There was some talk in that discussion about how obsidian is pretty non-standard when it comes to internal links, and how it goes the extra mile to make things easy for the user, which I believe is misguided, because it amounts to trolling the user, but never mind that; this right here is not a case of it going the extra mile for the user, this is just plain blatant trolling me any way you look at it.

is it still there if you close and reopen the note?

No, the image is not there anymore, if I:

  • close and reopen the note

  • navigate to a different note and then hit “back” to return to the first note

  • switch from “live preview” mode to “reading” mode

close and reopen the note

I am unable to reproduce this.

Maybe you misread my answer? I am saying that if I do any of those things, the image is not there anymore.

Sorry I did not catch that.

I don’t consider this a bug.

Feel free to open a FR asking for the editor page to be updated immediately if there are internal/external changes to the attachments of the note in view.