Thanks to visit codestin.com
Credit goes to github.com

Skip to content

No longer used resources not deleted #154

@boschkundendienst

Description

@boschkundendienst

Operating system

  • Windows
  • macOS
  • Linux
  • Android
  • iOS

Application

  • Desktop
  • Mobile
  • Terminal

If it is a bug if possible please provide a screenshot showing the problem

If there is an error, please copy and paste the full error message


When adding a file to a note, eg an image it will be referenced like this:

![0805_b1e7_400.jpeg](:/f0f48abb927541f9b4cfdcad94d2ec27)

and the file is stored as

.resource\f0f48abb927541f9b4cfdcad94d2ec27

I use the folder _sync_joplin in my Dropbox as local storage for joplin data.

Now, when you delete the reference from the note, the image disappears from the note (normal behaviour) but is still present in the .resource folder. Same behaviour if you entirely delete the note itself.

Think about what happens after using the application for a very long time where you might have deleted a lot of notes, all the Files you added will still remain in the .resource folder and on operating systems, where file extensions matter you can't even double-click them to open from within the .resource folder because they do not have a file extension and.

A workarround could be to ask the user if a file is removed from a note or a note is deleted, if the file should also be deleted as a resource.

At least if a note is deleted, all files attached to it should be deleted, too.

Regards

PCFreak

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementFeature requests and code enhancements

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions