-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
timeline can be way off for large libraries #7979
Comments
I can confirm this. My library has about 60k items and the timeline is off too, especially for older dates. Also my oldest photos are from 1997 and the timeline goes only to 2004 (clicking that scrolls to 2002). Also I noticed that in these old dates, there are often fairly long stretches like "Jan 2007" which suddenly changes to "Jul 2007" even though there are photos in the months in between that (not that it matters much now when it takes me to a wrong date anyway) |
Each segment height is calculated based on the number of assets in that group. When it reaches a certain amount of assets, a few pixels are different when clicking on the timeline, which might make a big difference. Regardless, this is an interesting issue to solve. Thank you for reporting |
There also seems to be a problem with timeline granularity. Jun 2006 skipping the months inbetween. And if I click on Jun 2006 right when it changes, it goes to Jun 7, 2006 It feels like there's a 'minimum pictures per timeline label (aka jan 2006)' thing going on, where it's adding X pictures under each label, even if that means the last picture is in a separate month. It would be less confusing if instead of just saying 'Jan 2006' for the whole pixel block, it said, 'Jan 2006 - Jun 2006' i poked through the code and can't figure out what page manages the timeline. |
It is very difficult to scroll to the right dates because the slider is jumping. In one moment it shoes April and then October and there are a lot photos in May, June, July. Maybe you can implement an option to make the timeline wider when there is the need. Also my first photos begin in the early 20' century. It is impossible to scroll to the beginning. |
fixed with #10646 |
Works much much better now. Not 100 % though - if I click on 01/2006, it moves the timeline to 04/2006. But there's not that many old photos on my timeline so the correct month is just like one screen away. |
The bug
This is on windows, chrome:
When you click on the timeline on the right side, the main page jumps/scrolls to that the date.
When you mouse over the timeline it shows a month/year, and clicking on it sometimes takes you to the last day of that month. (which is fine).
However, sometimes it takes me to a date which is several months ahead/behind,
and then I have to mousewheel scroll (which is slow) to the date I want.
This is worsened by the fact that:
I'm sure this is related to the fact that I have a large library: 150K assets over 25 years,
Video of the problem:
https://www.youtube.com/watch?v=TpNE7sujSKs
The OS that Immich Server is running on
windows 10
Version of Immich Server
1.98.2
Version of Immich Mobile App
1.98.2
Platform with the issue
Your docker-compose.yml content
Your .env content
Reproduction steps
1. open web page 2. click on a date in the timeline 3. ...
Additional information
I'm sure this is related to the fact that I have a large library: 150K assets over 25 years,
The text was updated successfully, but these errors were encountered: