immich-app / immich

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

Stacks not working on mobile (iOS and Android) #7286

Open lukanowa opened 8 months ago

lukanowa commented 8 months ago

The bug

From previous version of mobile app (1.91.4) mobile app has problem with stacks viewing. New version of app 1.95 still has this problem and is even worse than 1.94.

1.94 mobile: photos are no stacking on mobile but had stack icon (on web is ok, photos are in stack)

1.94_mobile 1 94_mobile

1.94_web 1 94_WEB

on 1.95 bug is still on mobile but there is no stack icon on photos (on web is ok, photos are in stack)

1.95_mobile 1 95_mobile

1.95_web 1 95_WEB

The OS that Immich Server is running on

Synology DSM

Version of Immich Server

1.95.1

Version of Immich Mobile App

1.94 and newest 1.95

Platform with the issue

Your docker-compose.yml content

not relevant

Your .env content

not relevant

Reproduction steps

1. Select photos and choose stack (it is no important where mobile or web)
2. Photos on mobile are no in stack
3. Photos on web are ok in stack

Additional information

No response

raisinbear commented 8 months ago

Same here. Now there are three kinds of stacks in the mobile library. Old and working, recent at least with symbol, new without indication it is a stack at all.

alextran1502 commented 8 months ago

There is a bug, we are looking into a fix

aechmtwash commented 8 months ago

I'm also seeing odd stack behavior on the web UI. No icon displayed in timeline. Also odd behavior when using the arrows in the view window from the timeline, as detailed below (all assume a 2 image stack). Server v1.97.0

If I click into stack:

If I click into stack:

If I use the right arrow to enter the stack:

If I use the left arrow to enter the stack:

raisinbear commented 7 months ago

Since 1.98.0, this is fixed for me. It took deleting the app and reinstalling for old stacks to display fine, but now it looks good, newly added stacks included. There are quite some quirks remaining (or new?) when deleting a stack, both from mobile and web, but that would be something for another issue entirely. Thanks for fixing this 😀🎉

alextran1502 commented 7 months ago

@raisinbear most of the time, you can logout and login to clear the state :D

raisinbear commented 7 months ago

@raisinbear most of the time, you can logout and login to clear the state :D

Ah cool, thanks 😅👍

akostadinov commented 1 month ago

Stacks are not working on android 1.114.0

I stacked 8 videos. At first they appeared stacked, then I can only see one of them and no stack icon, no selector of which video to see, no options to unstack. Still I see the individual videos in a shared album because stacks don't work yet in album (#10135)

Then I stacked some photos, at first they appear stacked and then only see one of them.

I tried this 5-6 times. Only one of the stack is still surviving (viewable as a stack) which has 2 photos. I wonder if this it related to the number of stacked images. But definitely something is broken in the app.

P.S. forgot to say that on web I can happily see the stacks properly. Also I create the stacks in the android app.

jrasm91 commented 1 month ago

Do you own the assets or are they partner photos?

akostadinov commented 1 month ago

I own the assets. Partner sharing is not enabled.

jrasm91 commented 1 month ago

I just stacked and unstacked a bunch of photos and it worked fine. Can you share a video and logs of what you are seeing? Also the server has to be on the latest version. If it isn't on 1.114 that would be an obvious cause.

akostadinov commented 1 month ago

I just installed. Everything is 1.114. Stack the photos/videos, maybe several bunch and let them sit. As I wrote initially they show up fine. Then after browsing around, closing/open the app, some are lost. Actually only one survived from 5-6 attempts. So it should be easy to reproduce.

I also tried the logout/login trick to no avail.

I'll try to upload some non-personal photos to make a video with, maybe with a test account as I can't upload from my timeline :thinking:

jrasm91 commented 1 month ago

Ah yes. The reproduction steps are:

ArtemSmaznov commented 4 days ago

I am assuming the core issue is the same as this. Android app 1.118.1 build.163 Own assets

Is feels like the stack states don't sync well between the server and mobile app.

Clearing data and logging in again updates the stacks but is a chore.

Not sure if related, but I also cannot stack anything with immich-go - can only stack photos manually. I might raise the issue in the immich-go repo. UPDATE: raised https://github.com/simulot/immich-go/issues/521