[BUG] [Web] Deleting an image from an album causes a soft freeze #1732

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

Originally created by @thariq-shanavas on GitHub (Dec 7, 2023).

Originally assigned to: @jrasm91 on GitHub.

The bug

When a photo is opened from the timeline and deleted, the web app shows a notification that the item was moved to trash and switches to the next photo.

However, the web app locks up when a picture is opened from an album and deleted. The left/right arrows do not work, and the next item is not shown. The back button on the top left works and takes you back to the album view.

This is a minor annoyance at best, but I'm making an issue so it does not get lost.

I have confirmed this behavior on the demo instance. Tested using Firefox and Chrome browsers.

The OS that Immich Server is running on

NA

Version of Immich Server

1.89.0

Version of Immich Mobile App

NA

Platform with the issue

  • Server
  • Web
  • Mobile

Your docker-compose.yml content

NA

Your .env content

NA

Reproduction steps

1. Open an album with at least two pictures
2. Open a picture
3. Delete it from the button on the top right
4. The next photo is not shown, the left/right buttons stop working.

Additional information

No response

Originally created by @thariq-shanavas on GitHub (Dec 7, 2023). Originally assigned to: @jrasm91 on GitHub. ### The bug When a photo is opened from the timeline and deleted, the web app shows a notification that the item was moved to trash and switches to the next photo. However, the web app locks up when a picture is opened from an album and deleted. The left/right arrows do not work, and the next item is not shown. The back button on the top left works and takes you back to the album view. This is a minor annoyance at best, but I'm making an issue so it does not get lost. I have confirmed this behavior on the demo instance. Tested using Firefox and Chrome browsers. ### The OS that Immich Server is running on NA ### Version of Immich Server 1.89.0 ### Version of Immich Mobile App NA ### Platform with the issue - [ ] Server - [X] Web - [ ] Mobile ### Your docker-compose.yml content ```YAML NA ``` ### Your .env content ```Shell NA ``` ### Reproduction steps ```bash 1. Open an album with at least two pictures 2. Open a picture 3. Delete it from the button on the top right 4. The next photo is not shown, the left/right buttons stop working. ``` ### Additional information _No response_
Author
Owner

@flyotlin commented on GitHub (Dec 13, 2023):

If you click next (arrow right) when you're on the last image in the album, this kind of error/soft freeze happens as well.
Seems like it's that the variable asset in here would be undefined.

@flyotlin commented on GitHub (Dec 13, 2023): If you click next (arrow right) when you're on the last image in the album, this kind of error/soft freeze happens as well. Seems like it's that the variable `asset` in [here](https://github.com/immich-app/immich/blob/main/web/src/lib/components/asset-viewer/asset-viewer.svelte#L79) would be undefined.
Author
Owner

@jrasm91 commented on GitHub (Jan 22, 2024):

I remember seeing this issue in the past, but I was not able to reproduce it, so I think it must have been fixed in the interim already.

@jrasm91 commented on GitHub (Jan 22, 2024): I remember seeing this issue in the past, but I was not able to reproduce it, so I think it must have been fixed in the interim already.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#1732