immich help
from illusionist@lemmy.zip to selfhosted@lemmy.world on 01 Aug 07:07
https://lemmy.zip/post/68922017

OS: grapheneos

#selfhosted

threaded - newest

lazynooblet@lazysoci.al on 01 Aug 07:19 next collapse

Before the item is uploaded there is an option to “delete from device”.

illusionist@lemmy.zip on 01 Aug 07:36 collapse

… Hidden in the three dot menu

lazynooblet@lazysoci.al on 01 Aug 08:24 collapse

True dat

AcornTickler@sh.itjust.works on 01 Aug 08:22 next collapse

I believe you need to choose “Always allow all” option in “Photos and videos” permission.

illusionist@lemmy.zip on 01 Aug 11:01 collapse

That is already set

AcornTickler@sh.itjust.works on 01 Aug 11:21 collapse

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 on 01 Aug 13:49 collapse

Nice find! But that is also already toggled.

<img alt="" src="https://lemmy.zip/pictrs/image/8f216c48-7f51-4ee4-9dbf-afd1f63c7a01.avif">

AcornTickler@sh.itjust.works on 01 Aug 14:29 collapse

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 on 01 Aug 14:43 collapse

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 on 01 Aug 15:53 collapse

I don’t think that’s possible currently. It is probably worth discussing on GitHub.

homelabista@mastodon.social on 01 Aug 19:06 collapse

@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 on 01 Aug 20:30 collapse

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 on 02 Aug 07:04 collapse

@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 on 02 Aug 07:11 collapse

Thank you for the explanation! Highly appreciate it!