- Immich always asks for confirmation when deleting an image on android. How can I disable that behavior?
- why is there no delete button for images/videos that are not yet uploaded? It's annoyng to upload a huge video just to delete it. Why does the UI change dependent on the local/server status?
OS: grapheneos
14 Comments
AcornTickler@sh.itjust.works · 9 pts · 2d
I believe you need to choose "Always allow all" option in "Photos and videos" permission.
illusionist@lemmy.zip · 1 pts · 2d
That is already set
AcornTickler@sh.itjust.works · 6 pts · 2d
Oh, right, sorry. I didn't want to delete the app and reinstall it to find out which permission it was, so I just guessed from its existing permissions.
On my device the relevant toggle is located in Apps > Special app access > Media management apps.
illusionist@lemmy.zip · 3 pts · 2d
Nice find! But that is also already toggled.
AcornTickler@sh.itjust.works · 4 pts · 2d
Weird. When I disabled that setting Immich started asking twice for deleting images. I turned it back on and it went back to normal.
Edit: I think I misunderstood your original question. Do you want Immich to not ask for confirmation at all when deleting things?
illusionist@lemmy.zip · 3 pts · 2d
Yes! There is a trash in case I need an image back. At leats it should only ask once per session, not for every single image.
AcornTickler@sh.itjust.works · 3 pts · 2d
I don't think that's possible currently. It is probably worth discussing on GitHub.
lazynooblet@lazysoci.al · 5 pts · 2d
Before the item is uploaded there is an option to "delete from device".
illusionist@lemmy.zip · 6 pts · 2d
... Hidden in the three dot menu
lazynooblet@lazysoci.al · 2 pts · 2d
True dat
homelabista@mastodon.social · 4 pts · 2d
@illusionist Went digging in their repo instead of guessing.
Immich's AndroidManifest caps READ_EXTERNAL_STORAGE at maxSdkVersion=32. Android's own MANAGE_MEDIA docs list that permission as one you have to declare for the no-prompt path, and on 13+ it's never granted.
Their string for the permission also says it's for "moving assets to the trash and restoring them". Trash, not delete. Between those two, I'd stop expecting that toggle to do anything.
illusionist@lemmy.zip · 1 pts · 2d
Wow, thank you! Although I'm not sure about the conclusion. I guess the devs are fully aware of the situation since they also use immich themselves. Maybe they always upload their images immediately so that they don't focus on the situation in which the media is unsynced.
homelabista@mastodon.social · 3 pts · 1d
@illusionist Maybe it's not that they don't notice. Android's own doc says an app on 11+ that isn't the default gallery has to show that dialog every single time, and the one way out asks for MANAGE_MEDIA and READ_EXTERNAL_STORAGE together. From 13 onward you request READ_MEDIA_IMAGES/VIDEO instead of READ_EXTERNAL_STORAGE, and Immich's manifest caps that one at maxSdkVersion 32. On GrapheneOS the pair can't exist. Nothing the devs can do.
illusionist@lemmy.zip · 1 pts · 1d
Thank you for the explanation! Highly appreciate it!