this post was submitted on 21 Jan 2025
2 points (100.0% liked)

Tesseract

72 readers
4 users here now

Tesseract: An Advanced Lemmy Client

The goal of Tesseract is to address as many things in Lemmy that annoy me as I can. I also trawl various "is there any way to [blank] in Lemmy?" posts to get feature ideas. Both of those lists are pretty extensive, so Tesseract has accumulated quite a few features.

Github: https://github.com/asimons04/Tesseract/

Hosted / Demo Instance: https://tesseract.dubvee.org/

Note that the hosted instance defaults to Lemmy World, but it is unlocked to be able to connect to any Lemmy server.

Announcements, support, and guidance for the Tesseract UI.

All instance rules apply here. Beyond that, just be civil and constructive.

founded 1 year ago
MODERATORS
 

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.
you are viewing a single comment's thread
view the rest of the comments
[–] ptz@dubvee.org 2 points 1 week ago* (last edited 1 week ago) (6 children)

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.

[–] Lucki@feddit.org 2 points 1 week ago* (last edited 1 week ago) (5 children)

I still have the previous "jump" session open and continued using it for your debugging proposals:

I'm not sure the jumps I see now are the same. I now reach the bottom of the site and then the batch loads and then the jump happens over that batch. In my previously encountered jumps I was not at the bottom of the site. Please keep this in mind for the following answers:

scroll through, and see if any API requests fail when you experience one of the jumps?

No failing requests. All are green 200 and 204. Jumped posts will get the mark_as_read POST request on scrolling back up past them.

Also, what about any of the feed options? Any of those set?

I have not set them to anything specific. It looks the same except the lower two options are missing for me.

Disable media embeds in the feed and see if that is the issue

I'll give this a try, but not today anymore :)

[–] ptz@dubvee.org 2 points 1 week ago* (last edited 1 week ago) (4 children)

Thanks for the additional info. When I switch to my other PC, I'll try to do a run through against feddit.org, scaled sort, with all the options you had set. Hopefully I can reproduce it.

It looks the same except the lower two options are missing for me.

Yeah, Feddit.org is on 0.19.5 and those two options require 0.19.7 or higher, so they're hidden/disabled.

I'm hoping the issue is just with the embeds enabled in the feed. Like I said, that's been deprecated and I rarely test in that configuration. I also have some memory hacks in place that turn those back into thumbnails when they're out of the viewport, so maybe there's a bug in that process when embeds are 'always on'?

If that does turn out to be the case, then the good news is it'll be fixed in 1.4.30 since everything is click-to-play.

Edit: I think I was able to see what you're referring to. It only did it once for me (and I had matched your settings), but I believe I can confidently say that the issue does exist. So, that's progress.

Hypothesis is that when the infinite scroll buffer overflows and it pops the oldest entries from the beginning of the feed, there's some weird behavior with FF (I don't think I've seen this on FF mobile, though).

Will keep testing and see if I can pin that down as the cause or rule it out.

[–] Lucki@feddit.org 1 points 1 week ago

I'm hoping the issue is just with the embeds enabled in the feed.

Sadly it's not the issue. I disabled both embed media options and it still skips a bunch of posts sometimes.

I think I was able to see what you're referring to.

I'll try to catch a jump on video later.

load more comments (3 replies)
load more comments (3 replies)
load more comments (3 replies)