immich-app / immich

High performance self-hosted photo and video management solution.
https://immich.app
GNU Affero General Public License v3.0
52.47k stars 2.78k forks source link

Navigation resets due to slow loading asset #11833

Open C-Otto opened 3 months ago

C-Otto commented 3 months ago

The bug

When I quickly move from asset A to asset B and then quickly back to asset A (by pressing "right" immediately followed by "left"), asset A is shown and then replaced by asset B (after a short delay). I assume that this is related to the delay of loading the original file for asset B.

Instead of showing asset B, the related request should be aborted or silently ignored once completed.

I think this also happens when navigating back or pressing escape and is quite confusing.

The OS that Immich Server is running on

Debian Stable

Version of Immich Server

v1.112.1

Version of Immich Mobile App

none

Platform with the issue

Reproduction steps

  1. Navigate to album
  2. Press "right" immediately followed by "left"
C-Otto commented 3 months ago

To explain why this is significant: when browsing through pictures and picking the good/bad ones, I often go left-left-left-right-left etc., deleting some pictures in between. If the navigation resets to a picture that I don't expect, I might delete the wrong picture. Furthermore, this behavior confuses me, making me go back to the beginning or resetting the view.

danieldietzler commented 2 months ago

Is this with the recent improvements to the asset viewer still an issue?

C-Otto commented 1 month ago

Yes, I don't see any change.