UnevenSoftware / LeafPic

LeafPic is a fluid, material-designed alternative gallery, it also is ad-free and open source under GPLv3 license. It doesn't miss any of the main features of a stock gallery, and we also have plans to add more useful features.
GNU General Public License v3.0
3.27k stars 1.35k forks source link

Bug in LeafPic App: delete photo not working #531

Closed rudiansyah1996 closed 6 years ago

rudiansyah1996 commented 6 years ago

Expected behavior

I want to delete the photo via LeafPic application, but when I delete it poto is not also deleted, many times I delete it is also not deleted, which should after pressing delete button automatically deleted by itself poto.

Actual behavior

delete photo in leafPic application does not work. when I want to delete poto delete button does not work, I have repeatedly pressed delete also not deleted the photo.

How to reproduce

Recording Of The Bug

https://youtu.be/eB9stD8FTyw

TakuCoder commented 6 years ago

is the file is still available in the storage? or it deleted and failed to refresh the view?

Hubcapp commented 6 years ago

Still available in storage. It's on the SD card, app has all the permissions it's asked for.

HowlingMind commented 6 years ago

I believe this has to do with SD Card permissions. Delete worked for me off of internal storage, but when I moved the pics to my SD Card, I was getting this same behavior.

Hubcapp commented 6 years ago

I opened a root terminal on my phone and "chmod -R 777" to the folder, but it still didn't work. Frustrating.

I am able to use Amaze file manager to delete files on SD card, so it is an application error, not permissions.

calvinnor commented 6 years ago

It seems (from your discussion) that you can't delete media when it's on the SD Card.

I'll have a look at this when I get the time. Thanks guys for your findings and reports!