[beta] deleting through mobile app still broken #6290

Open
opened 2026-02-20 04:10:27 -05:00 by deekerman · 8 comments
Owner

Originally created by @lukaszwawrzyk on GitHub (Aug 5, 2025).

Originally assigned to: @shenlong-tanwen on GitHub.

I have searched the existing issues, both open and closed, to make sure this is not a duplicate report.

  • Yes

The bug

Delete and delete from device actions do not prompt me if I allow to delete actual file from phone. In case of delete, the asset is trashed in immich but unaffected on device. In case of delete from device, the cloud icon changes (tick disappears), but actual file is still available in phone memory.

The OS that Immich Server is running on

Debian

Version of Immich Server

1.137.3

Version of Immich Mobile App

1.137.2

Platform with the issue

  • Server
  • Web
  • Mobile

Your docker-compose.yml content

.

Your .env content

.

Reproduction steps

Just take a synced photo and try to delete it, either with select asset view or after opening an asset.

Relevant log output


Additional information

No response

Originally created by @lukaszwawrzyk on GitHub (Aug 5, 2025). Originally assigned to: @shenlong-tanwen on GitHub. ### I have searched the existing issues, both open and closed, to make sure this is not a duplicate report. - [x] Yes ### The bug `Delete` and `delete from device` actions do not prompt me if I allow to delete actual file from phone. In case of delete, the asset is trashed in immich but unaffected on device. In case of delete from device, the cloud icon changes (tick disappears), but actual file is still available in phone memory. ### The OS that Immich Server is running on Debian ### Version of Immich Server 1.137.3 ### Version of Immich Mobile App 1.137.2 ### Platform with the issue - [ ] Server - [ ] Web - [x] Mobile ### Your docker-compose.yml content ```YAML . ``` ### Your .env content ```Shell . ``` ### Reproduction steps Just take a synced photo and try to delete it, either with select asset view or after opening an asset. ### Relevant log output ```shell ``` ### Additional information _No response_
Author
Owner

@alextran1502 commented on GitHub (Aug 5, 2025):

Are you using Android and did you use the web deletion sync feature?

@alextran1502 commented on GitHub (Aug 5, 2025): Are you using Android and did you use the web deletion sync feature?
Author
Owner

@lukaszwawrzyk commented on GitHub (Aug 5, 2025):

Yes and yes. However disabling the experimental feature of delete sync doesn't help with the issue.

@lukaszwawrzyk commented on GitHub (Aug 5, 2025): Yes and yes. However disabling the experimental feature of delete sync doesn't help with the issue.
Author
Owner

@alextran1502 commented on GitHub (Aug 5, 2025):

@lukaszwawrzyk it is the permission that has been permanently granted by the app. You will need to disable it in the native app settings to make the prompt to show up

@alextran1502 commented on GitHub (Aug 5, 2025): @lukaszwawrzyk it is the permission that has been permanently granted by the app. You will need to disable it in the native app settings to make the prompt to show up
Author
Owner

@lukaszwawrzyk commented on GitHub (Aug 5, 2025):

Hm, I didn't have the issue before. I have following permissions listed for app:
localization, notifications, photos and videos, music and sounds. I had all enabled.
If I reduce access to photos to limited access or disallow - then all my photos are cloud only. I have to allow for all or at least limited access with albums that I want to sync.

Thus changing permissions doesn't allow me to delete from device at all.

After these experimens I am observing a prompt from immich on delete:
Are you sure ... it will move asset to trash and prompt for local deletion.
But if I confirm it, the asset gets deleted only in immich.

And anyway if I have some permanent permission on, shouldn't it actually delete files? I don't need the prompt TBH, I rather need the photos to be deleted, but it doesn't seem to happen.

@lukaszwawrzyk commented on GitHub (Aug 5, 2025): Hm, I didn't have the issue before. I have following permissions listed for app: localization, notifications, photos and videos, music and sounds. I had all enabled. If I reduce access to photos to limited access or disallow - then all my photos are cloud only. I have to allow for all or at least limited access with albums that I want to sync. Thus changing permissions doesn't allow me to delete from device at all. After these experimens I am observing a prompt from immich on delete: Are you sure ... it will move asset to trash and prompt for local deletion. But if I confirm it, the asset gets deleted only in immich. And anyway if I have some permanent permission on, shouldn't it actually delete files? I don't need the prompt TBH, I rather need the photos to be deleted, but it doesn't seem to happen.
Author
Owner

@alextran1502 commented on GitHub (Aug 5, 2025):

what is your phone model? I cannot reproduce the issue 🤔

@alextran1502 commented on GitHub (Aug 5, 2025): what is your phone model? I cannot reproduce the issue 🤔
Author
Owner

@lukaszwawrzyk commented on GitHub (Aug 5, 2025):

It's pixel 9 pro. But I believe I now understand what happens. You are probably right that I have some permanent permission on, though I am not sure how to disable it.
The photos do get deleted from phone. I was validating it by checking the must not be named app and photo was still there. It turns out that I have backup there as well. But if I check available action, I can see delete from device action on photos that I didn't delete from immich, and I don't see this action when I deleted photo from immich, so I see these photos in the other app because they are in cloud (yet there is no nice indicator like in Immich).

So the feature seems to work, though I got confused by lack of the system prompt that I am used to and behavior of the other app.

I am wondering what is the case for people who added 👍 on the issue.

@lukaszwawrzyk commented on GitHub (Aug 5, 2025): It's pixel 9 pro. But I believe I now understand what happens. You are probably right that I have some permanent permission on, though I am not sure how to disable it. The photos do get deleted from phone. I was validating it by checking the must not be named app and photo was still there. It turns out that I have backup there as well. But if I check available action, I can see delete from device action on photos that I didn't delete from immich, and I don't see this action when I deleted photo from immich, so I see these photos in the other app because they are in cloud (yet there is no nice indicator like in Immich). So the feature seems to work, though I got confused by lack of the system prompt that I am used to and behavior of the other app. I am wondering what is the case for people who added 👍 on the issue.
Author
Owner

@paszczaq commented on GitHub (Aug 6, 2025):

Well I did add 👍on the first place becouse I did have some trouble with deleting photos but after giving 👍here and restarting app it worked :D - same phone Pixel 9

@paszczaq commented on GitHub (Aug 6, 2025): Well I did add 👍on the first place becouse I did have some trouble with deleting photos but after giving 👍here and restarting app it worked :D - same phone Pixel 9
Author
Owner

@rsimenok commented on GitHub (Sep 25, 2025):

I saw similar behavior on iOS.
I believe there are two issues.

  1. There are two options to delete. When you open a single image, you see "Delete" at the bottom. But when you select multiple images on the grid, the first option you see is "Move to trash." "Move to trash" means deleting from the cloud only.

  2. During sync, if you try to delete an image before Immich uploads it, the deletion behavior is unexpected.

Left a comment in this PR:
https://github.com/immich-app/immich/pull/21150#issuecomment-3333228548

@rsimenok commented on GitHub (Sep 25, 2025): I saw similar behavior on iOS. I believe there are two issues. 1) There are two options to delete. When you open a single image, you see "Delete" at the bottom. But when you select multiple images on the grid, the first option you see is "Move to trash." "Move to trash" means deleting from the cloud only. 2) During sync, if you try to delete an image before Immich uploads it, the deletion behavior is unexpected. Left a comment in this PR: https://github.com/immich-app/immich/pull/21150#issuecomment-3333228548
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/immich#6290
No description provided.