0

Requirements

  • [X] Is this a bug report? For questions or discussions use https://lemmy.ml/c/lemmy_support
  • [X] Did you check to see if this issue already exists?
  • [X] Is this only a single bug? Do not put multiple bugs in one issue.
  • [X] Is this a backend issue? Use the lemmy-ui repo for UI / frontend issues.

Summary

If you browse with show read posts enabled, and read every post on page 1 of content, when you navigate to page 2, it will show you page 2 of "unread" content, and you need to go back to page one.

Steps to Reproduce

  1. Disable "Show Read Posts"
  2. Browse a community
  1. "Read" each post on the 1st page (e.g. upvote all of them)
    • Pay attention to top couple of posts on page
    • Notice vote counts at bottom of page
  2. Browse to Page 2
    • Notice large drop in post vote count between end of page 1 and page 2
    • Pay attention to top couple of posts on page
  3. Browse back to page 1
    • Notice vote counts at top of page and bottom of page aligns between the end of the original page 1 and the viewed page "2"
    • Notice Page 1 content is different from original page 1 content

Technical Details

I believe this is a pagination issue when constructing the offsets used for pagination, there may need to be a mechanism to deduct or track the state of read posts.

Version

BE: 18.

Lemmy Instance URL

lemmy.fmhy.ml

top 1 comments
sorted by: hot top controversial new old
[-] issue_tracking_bot@lemm.ee 1 points 1 year ago

I'm not sure if I understand your post properly but this may be related to this issue: #3547 ("Cache existing post order when loading next page.").

Originally posted by M4rtineski in #3659

this post was submitted on 18 Jul 2023
0 points (50.0% liked)

Issue Tracker

166 readers
1 users here now

Welcome to the Lemmy Issue Tracker!

Here you can share your ideas and report issues related to the Lemmy project. We welcome all feedback and suggestions to help us improve the platform.

Guidelines for submitting issues

How to contribute

If you want to contribute to the development of Lemmy, please check out our GitHub repository. You can also join our Matrix chat to discuss ideas and issues with the community.

Thank you for your support and contributions to the Lemmy project!

founded 1 year ago
MODERATORS