[BUG] Deleting Stacked Photos on Android App only deletes the JPG and not both JPG and RAW. #1767

Closed
opened 2026-02-05 03:39:26 +03:00 by OVERLORD · 2 comments
Owner

Originally created by @townsste on GitHub (Dec 11, 2023).

The bug

When you delete a stacked photo (JPG and RAW) they go to trash. When you go to trash and empty trash or delete the stacked photos, it only seems to delete the JPG and the RAW file shows back up on the app and also does persist in the location folder.

You must then go back and delete the RAW image as done above, in the app, to fully remove the two photos. As a result, you need to double delete instead of being able to delete both stacked photos at one time.

This also happens when you disable trash on the server. Only the cover or the JPG from the stacked photo is deleted. When you refresh photos the RAW file reappears and you need to delete that now to.

The OS that Immich Server is running on

Unraid 6.12.5 (Linux 6.1.63-Unraid x86_64)

Version of Immich Server

v1.90.2

Version of Immich Mobile App

V1.90.0 build.114

Platform with the issue

  • Server
  • Web
  • Mobile

Your docker-compose.yml content

N/A

Your .env content

N/A

Reproduction steps

1. Stack two photos - JPG & RAW.
2. Delete the stacked photos.
3. Go to trash and delete the photos from trash.
4. Go back to photos and RAW photo appears.
5. Delete the RAW photo.
6. Go to trash and delete the photo from trash.
7. Go back to photos and neither of the photos are there anymore.

Additional information

No response

Originally created by @townsste on GitHub (Dec 11, 2023). ### The bug When you delete a stacked photo (JPG and RAW) they go to trash. When you go to trash and empty trash or delete the stacked photos, it only seems to delete the JPG and the RAW file shows back up on the app and also does persist in the location folder. You must then go back and delete the RAW image as done above, in the app, to fully remove the two photos. As a result, you need to double delete instead of being able to delete both stacked photos at one time. This also happens when you disable trash on the server. Only the cover or the JPG from the stacked photo is deleted. When you refresh photos the RAW file reappears and you need to delete that now to. ### The OS that Immich Server is running on Unraid 6.12.5 (Linux 6.1.63-Unraid x86_64) ### Version of Immich Server v1.90.2 ### Version of Immich Mobile App V1.90.0 build.114 ### Platform with the issue - [ ] Server - [ ] Web - [X] Mobile ### Your docker-compose.yml content ```YAML N/A ``` ### Your .env content ```Shell N/A ``` ### Reproduction steps ```bash 1. Stack two photos - JPG & RAW. 2. Delete the stacked photos. 3. Go to trash and delete the photos from trash. 4. Go back to photos and RAW photo appears. 5. Delete the RAW photo. 6. Go to trash and delete the photo from trash. 7. Go back to photos and neither of the photos are there anymore. ``` ### Additional information _No response_
Author
Owner

@shenlong-tanwen commented on GitHub (Dec 11, 2023):

@townsste This is currently this way by design. Since we allow manually stacking assets, the user might not actually want to remove all the assets but the only one currently viewed. Probably a separate option to remove the entire stack could be a different feature. But currently, sharing, deleting, favorites, archive, etc are all asset specific actions and are applied to the entire stack

@shenlong-tanwen commented on GitHub (Dec 11, 2023): @townsste This is currently this way by design. Since we allow manually stacking assets, the user might not actually want to remove all the assets but the only one currently viewed. Probably a separate option to remove the entire stack could be a different feature. But currently, sharing, deleting, favorites, archive, etc are all asset specific actions and are applied to the entire stack
Author
Owner

@townsste commented on GitHub (Dec 12, 2023):

Oh... Gotcha. I understand. I do like the idea of adding this as a feature then for faster deletion of images. Because if a stack is good and you want to delete the images then you have to go back and delete the data twice. Once for jpg then again for raw.

I used immich-go to automatically stack my jpg and raw files together, after being uploaded to immich server, and then once stacked I thought I would be able to delete the entire stack in one go.

For my case, if I want to delete the jpg then I also want to delete the raw. By being able to delete the stack then it speeds up the process of removing unwanted jpg and corresponding raw.

Thank you for the information.

@townsste commented on GitHub (Dec 12, 2023): Oh... Gotcha. I understand. I do like the idea of adding this as a feature then for faster deletion of images. Because if a stack is good and you want to delete the images then you have to go back and delete the data twice. Once for jpg then again for raw. I used immich-go to automatically stack my jpg and raw files together, after being uploaded to immich server, and then once stacked I thought I would be able to delete the entire stack in one go. For my case, if I want to delete the jpg then I also want to delete the raw. By being able to delete the stack then it speeds up the process of removing unwanted jpg and corresponding raw. Thank you for the information.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#1767