MediaStore doesn't really delete image file
I installed MediaStore V1.0 onto my Android running V10 I selected an image to delete from the images displayed within the app, clicked delete and the image appeared to be deleted. However, when I then opened the phone's default image viewer the image was still there. On opening the file explorer I could still see the file: /storage/sdcard0/DCIM/Camera/IMG_20210119_190148.jpg when viewing by folder, but the image was missing when viewing by image type. When I returned to the MediaStore app, the file was no longer visible. It therefore appears that some reference to the image file is deleted, and not the actual file.
I'm experiencing the same problem. I've found that several developers already reported the same bug, yet was discarded as infeasible, so, I've created a new bug in the Issue Tracker:
https://issuetracker.google.com/issues/184355104
I believe that the problem might be dependent for specific vendor Android implementations.
@Phil-666, in your case, in which phone model does it happen? I would recommend you add your device details to the issue ticket I've opened.