Describe the bug
Scrolling down in the photos app in NC18 too far, stop loading pictures and scrolling is impossible.

To Reproduce
Steps to reproduce the behavior:
Expected behavior
I want the full screen to be filled up with pictures
Screenshots
Here i have scrolled further down. The bottom threshold for showing the pictures is faaar up.
If I keep scrolling i can't see any pictures.

Desktop (please complete the following information):
Browser log
No logs
Additional context
It only shows bad when scrolling, on top it is all normal.
Hello!
I will need your browser console log to investigate this issue.
Open your console, reload your page and/or do the action leading to this issue and copy/paste the log in this thread.
How to access your browser console (Click to expand)
I think you misunderstand the bug - There is no output in the console as there are no crashes/errors/code related issues in this case.
What happens is that I scroll and scroll, and the threshold for showing pictures at the bottom is moving upwards, so when i scroll, less and less pictures are visible. At some point it will not let me scroll, because the app simply doesn't cache in more pictures on the bottom, and the scrolling stops. If i scroll slightly up, and really fast down again, i can manage to load 1-2 rows more of pictures.
I can do an effort and try to recreate this on a new installation.
I tried several times but there are no console output to show in this report.
I can also record a video to show you the issue, if that helps :)
The console log is supposed to show some debug informations.
This is not always about errors or crashes ;)

Alright, sorry about that!
Here is a screenshot

Errors I see is mostly connected to other apps or issues. I hope it is of help :)
Ah right, on the small dropdown with log level, please also enable verbose :)



There you go :) Stops at page 24, can't scroll further unless I change the aspect ratio of my browser (resizing so the grid changes)
I scrolled up so you could see the errors that popped up. Also while scrolling, I get a lot of the forced reflow messages
What happens if you scroll up on the page then down again?
If I scroll up and back down, the grid will slowly be fully visible again
as I scroll up, and as I scroll down again, the grid slowly fades away.
Imagine it being a too small grid, and as you scroll, that little
difference moves upwards (not even)
I manage to reproduce the problem on a fresh install, but i need like 3k pictures to make it very noticeable.
I suspect the grid calculations are off by a few pixels, and this just continues to add up as you scroll down.
Hi, any news on this or do you need more info?
Unfortunately I just need time :(
This was indeed an incremental shift caused by the virtual grid computation.
With the new grid this should be fixed. See #468
I am still facing the same issue.
The update fixed that the grid does not move slightly upwards, but it still stops loading pictures after a certain amount of scroll.
I can recreate this on a brand new installation with enough pictures in it, I have around 800 and i get down to about 500 pictures before it doesn't let me scroll more. Was this tested before it was pushed in production?
Are you trying on the master branch?
Ahhhh I am very sorry about that. I didn't realize that "To be released" was tagged on the PR - I blindly assumed it was pushed to production.
I'll give it a new try when the app has been updated. Sorry again for my ignorance, have a nice day.
Simen
This will be for Nextcloud 21 indeed :smile:
I'll give it a new try when the app has been updated. Sorry again for my ignorance, have a nice day.
No worries! Thank you very much for your interest, we'll eager for you to try the upcoming version! @Mikescops did an insane job! :tada: :rocket: