[v1.4.29] Feed sometimes skips a whole load of entries
[v1.4.29] Feed sometimes skips a whole load of entries
When scrolling through the feed it randomly happens to skip a bunch of entries. It suddenly jumps far down the feed for no apparent reason.
Some observations and possible cause thoughts:
- I believe it skips one load batch (20) of entries.
- Scrolling up those entries gets me back to where I was in the feed.
- I think it happens when the last entry of a previous load batch expands an attached media item.
- It's more apparent in media heavy feeds.
- It's independent of the scroll speed.
One possible cause is that in the last few versions, I changed the crosspost rollup behavior so that it checks for crossposts against the whole feed and not just the current batch So a post may come in, but there's already a matching crosspost in the feed above, so it folds into that and "jumps" a bit as that one briefly appears and disappears (I'm aware of that, but it's not been too frequent of an issue).
A whole batch seems too much for that to be the cause, but it is possible.
If you scroll back up and see that some posts suddenly have crossposts listed, then that could be the cause.
If so, then I guess I can revert that to just checking for crossposts within the current batch and deal with seeing more duplicate posts.
Another possible cause could be something interrupting the fetch but the page cursor gets out of sync?
Not sure what to ask to dive deeper into those without being able to see it, but maybe I can replicate the behavior somehow.
I can probably test with the hosted instance, but just trying to get as much info as I can.
I just had a jump and checked: No crossposts on them. It was in the "all" feed with "scaled" in "hybrid" mode. Here is a video of all the jumped posts: https://imgur.com/a/PgSRhud The jump was from the PlayStation post to the Formula1/Ukraine post.
Yes.
Although feddit.org has an instance, I'm using my own selfhosted instance though podman.
I'm using Hybrid. I have the feeling it happens with unseen, hence expanded, posts though.
Yes.
Ok, thanks (to both replies). I'll match my settings and see if I can reproduce that.
With the confirmation that it's probably not rolling them up as crossposts, the only thing I can think of is it may be missing a page cursor or something?
How fluent are you with the browser dev tools? Would you be able to open those, put it on the network tab, and filter for "XHR", scroll through, and see if any API requests fail when you experience one of the jumps?
Also, what about any of the feed options? Any of those set? I don't think they'd make a difference for this, but since I'm grasping at straws at the moment, it would at least be handy to know I guess.
Other suggestions:
Disable media embeds in the feed and see if that is the issue; you can still see the embeds in the feed, but you'll have to click the thumbnail to load the iframe with the media. Always showing iframes has been mostly deprecated for a while now, and in the next release (1.4.30), those are actually going away with everything being click to play. The reasoning is in the changelog, but in short, it makes a huge improvement in performance and memory utilization.