You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Creating a new note, adding one attachment file, re-edit note remove the attachment-link, attachment file in storage is removed but the parent directory is still there.
I have now several of those empty attachment folders in my storage-location.
Expected behavior
I guess the attachment-folder is per note, thus if a note has no more attachments, then I would expect that folder is removed too.
Steps to reproduce
Create a new note.
Drop a file on the note, a link is created in the note referring attachment.
Go to some other note.
Check the storage-location contains a new directory incl a copy of file that was dropped on note.
Go back to former note and edit it again, remove the attachment-link.
Leave edit mode of note and wait some time.
Check the storage-location, the former attachment file is removed but the parent directory still exists.
Environment
Version : 0.12.0
OS Version and name : MacOS 10.14.5
Storage location is a locally synced, shared OneDrive folder
The text was updated successfully, but these errors were encountered:
Current behavior
Creating a new note, adding one attachment file, re-edit note remove the attachment-link, attachment file in storage is removed but the parent directory is still there.
I have now several of those empty attachment folders in my storage-location.
Expected behavior
I guess the attachment-folder is per note, thus if a note has no more attachments, then I would expect that folder is removed too.
Steps to reproduce
Environment
The text was updated successfully, but these errors were encountered: