Skip to content
This repository has been archived by the owner on Apr 29, 2022. It is now read-only.

Images don't get deleted on deleting marker or drawing. #2

Open
Sharkaboi opened this issue Oct 30, 2020 · 0 comments
Open

Images don't get deleted on deleting marker or drawing. #2

Sharkaboi opened this issue Oct 30, 2020 · 0 comments
Labels
bug Something isn't working good first issue Good for newcomers help wanted Extra attention is needed

Comments

@Sharkaboi
Copy link
Owner

Describe the bug
Images don't get deleted on deleting marker. Only the Uri gets deleted but not the actual image in the disk thus leading to duplicates and waste of space.

To Reproduce
Steps to reproduce the behavior:

  1. Add drawing
  2. Delete drawing
    or
  3. Add Marker with images
  4. Delete marker.

Expected behavior
On deletion of drawing > All drawing image and all nested marker images should get deleted.
On deletion of marker > All attached marker images should be deleted,

Fix
Easy fix : Recursively check and delete for files as cached in room.
Tough Fix : Switch to content provider.

@Sharkaboi Sharkaboi added bug Something isn't working help wanted Extra attention is needed good first issue Good for newcomers labels Oct 30, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant