DrawingsApp icon indicating copy to clipboard operation
DrawingsApp copied to clipboard

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

Open Sharkaboi opened this issue 4 years ago • 0 comments

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 avatar Oct 30 '20 02:10 Sharkaboi