Hello, just picked up the Connect app and I’ve been enjoying it the most of any Lemmy app so far. However, I’ve been getting the following strange behavior, which may be a bug:

Viewing a specific post (https://lemmy.world/post/2104570) shows that there are (at time of writing) 76 total comments, but actually scrolling through reveals only ~37-40, even after expanding collapsed ones. Navigating directly to this post in a web browser reveals more comments than are shown in the app (still less than 76, around 65 or so, but I assume this is some other bug with Lemmy). Reloading the thread does not fix it and this has persisted across 2 days by my checks. I don’t have any instances or users blocked, and I don’t think that blocking communities would lead to this behavior (I haven’t blocked the one in question). Am I missing something?

    • KuroM
      link
      fedilink
      81 year ago

      Hi, thanks for the feedback! I did some investigation and it looks like this is sort of a Lemmy issue sort of a Connect issue. Looks like the API always returns the comments from the same page so any comments after the limit are lost. Using that linked post as an example check out these API calls:

      I checked through the Lemmy Github and found this issue https://github.com/LemmyNet/lemmy/issues/3585 ([Bug]: Pagination doesn’t work for GetComments if max_depth is set) so I think it’s just a matter of not setting max_depth.

      Anyways all of that to say it should be fixed in the next release!