This object is in archive! 

Deleting a track forgets to delete attachments of track points

Georg D shared this problem 9 years ago
Solved

Attachments of track points, e.g. audio recordings in /Locus/data/media/audio, are not deleted when the track is deleted (and thus also all track points). As a result, I've some rubbish in that folder, so attachments for points that already vanished. v3.0.2

Replies (6)

photo
1

Hello Georg,


thanks for a report. Seems it's not so simple to fix this problem.


Till then, temporary workaround is using "Clean" function


Menu > Settings > Misc > Clear temporary data > Unused attachments

photo
1

Thanks, workaround works fine :)


BTW, same issue for attachments of deleted POIs.

photo
1

uhhmm, I usually add "Photo Points" at start and finish of my tracks. When the hike is done some weeks or months later, I usually delete the track from my phone but I would like to keep the photo's. I am not going to test it now but what is the actual behaviour?

photo
1

On my phone, Locus 3.4.0 deletes only the point / track, the photos still exist in /Locus/data/media/photo and in /mnt/sdcard/DCIM. I'd like that the photo is deleted in the Locus directory, so Locus in itself is consistent (either point and attachment exist or none of both). In the usual photo folder the file may continue to exist, because it has no connection to Locus, but the folder contains all photos I made with any app. Would that be fine for you, too?

photo
1

Thanks George for refreshing my memory. I think Locus placing the photo also in DCIM is new (at least I don't recall that).

Anyway, as long as it does, I agree with you about removing the image from /Locus/data/media/photo together with the point/track.


One tiny problem stays: the first image I attach to a point does not use the (edited) name of the new point. Only the second image does so.

photo
1

Hello guys,

quite an old topic. Just checking and based on app source code, the issue seems to be solved. When deleting the track, there is an option if you would like to delete attachments as well. Hope it works well.

Replies have been locked on this page!