MarkdownMonster icon indicating copy to clipboard operation
MarkdownMonster copied to clipboard

Renaming file opens empty file and empty bak files

Open internationils opened this issue 1 year ago • 1 comments

  • Edit a file
  • save it
  • rename it in the navigation on the left
  • File shows empty and in read mode

image

  • closing and clicking on the renamed file in the navigation tries to load the .bak.md file

image

  • clicking on the .. and reopening gives the following, with a different bak file being opened (empty) and the real file being opened with content

image

internationils avatar Aug 12 '24 12:08 internationils

I was creating and removing files with a script and noticed that some things are not as atomic as I expected in WSL... maybe that is what is happening with the renaming?

        # remove it since it is autogenerated
        # does not work immediately, WSL filesystem is too slow to close it
        sleep 0.1
        rm -f $section

internationils avatar Aug 13 '24 14:08 internationils

Duplicate of #1141. Should be fixed.

RickStrahl avatar Oct 22 '24 23:10 RickStrahl