toolstack / Folio

A beautiful markdown note-taking app for GNOME (forked from Paper)
GNU General Public License v3.0
127 stars 12 forks source link

File contents erased without warning #118

Closed stewlab closed 1 month ago

stewlab commented 1 month ago

I opened a markdown file externally using this app via the context menu in my file browser, and noticed that the file was automatically erased and written back to disk, with no way to recover. Strange bug.

Steps to reproduce:

I am not sure if Folio supports opening files externally, but it seems that it should at least fail gracefully with a warning or something similar. Additionally, I will take a look at the code to see if I can find the source of the issue.

OS: Fedora Linux 40 (Silverblue) / Gnome 46

toolstack commented 1 month ago

I can't reproduce the issue here (Fedora 40 regular), can you re-confirm the behaviour?

toolstack commented 1 month ago

If you do reconfirm, can you run Folio from the command line to see if it generates any message, aka:

`flatpak run com.toolstack.Folio --file Note.md

stewlab commented 1 month ago

This is no longer an issue for me. I reinstalled the the Folio flatpak (w/ a clean config) and cannot reproduce via the context menu or CLI, so this may have been a broken config or something similar. Thanks for looking into it!

toolstack commented 1 month ago

Np.