Updated notes are not reprinted to pdf if the pdf is open somewhere else

Steps to reproduce

Write a note; export it to PDF.

Then edit the original note, perhaps adding a paragraph, and export that to PDF with the same name as the original. A dialogue box appears, asking if you want to overwrite the old file. Click that you do.

Expected result

A new, updated PDF is written over the old one.

Actual result

The operation silently fails, leaving the old PDF untouched.

Environment

  • Windows 10, up to date
  • Obsidian version: 0.11.5

Additional information

It works for me. Do you happen to have the pdf open somewhere else. If that’s the case it can’t be overwritten.

I don’t think I do, unless preview counts. I will have another look.