Skip to content

Single not synced photo is deleted from device without any confirmation or warning #17570

@timaschew

Description

@timaschew

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

  • Yes

The bug

If I click accidentially on the delete button in the detail view and the photo is not synced yet, it's gone, forever.

In other cases there is always a warning/confirmation if files are removed permanently.

The OS that Immich Server is running on

Debian bookworm

Version of Immich Server

v1.131

Version of Immich Mobile App

v1.131

Platform with the issue

  • Server
  • Web
  • Mobile

Your docker-compose.yml content

default

Your .env content

default

Reproduction steps

  1. Open photo view
  2. Click on a photo which was not uploaded yet
  3. In detail view click on delete
    ...

Actual
Photo is deleted from device without any warning or confirmation, this can't be undone.
The photo is lost if this happens accidentially.

Expected
When a user clicks on delete on a photo which is not synced yet (exist only on the device), a confirmation dialog appears. For example reuse the existing one, which is shown when selcting multiple files, including a local asset. When the user clicks on remove from device, he is aked if he wants to "Delete Backed Up Only".

Relevant log output

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    Status

    Ready

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions