Opening a removed file in the Android app deletes it from the cloud.
Details:
1- My phone and cloud were in sync.
2- I deleted the images folder from the phone (using File Explorer on Android)
3- I opened the Immich app
4- It was still showing the tick inside the cloud but no thumbnail
5- I clicked on a couple videos (with no thumbnail)
6- the videos I clicked on got deleted from the cloud
7- Restored the deleted folder from the trash
8- Logged out and back in to Immich Android app
9- Immich did not detect what was already synced and what was not, it reported that the whole folder needs to be uploaded
10- Background sync uploaded the whole folder (that was previously deleted and then restored) again
I've also added this as a comment here:
https://github.com/immich-app/immich/issues/2486
.