lo-cafe / winston

A beautiful and native Reddit client for iOS
https://winston.cafe/
GNU General Public License v3.0
700 stars 55 forks source link

[BUG] Multiple posts are being marked as read simultaneously #331

Open valberjr opened 7 months ago

valberjr commented 7 months ago

Describe the bug

When enter a subreddit, I have for example 5 unread posts. When access a specific post and then go back to the subreddit's main page, the 4 posts below the read one are being marked as read automatically.

To Reproduce

Steps to reproduce the behavior:

  1. Go to /r/nextdns, for example
  2. Click on any unread posts, preferably with some unread ones below the one you're clicking.
  3. Return to /r/nextdns
  4. The ones below now are marked as read too.

Expected behavior

Only the post clicked to read should be marked as read when return to /r/nextdns

Screenshots

1 - All posts are unread.

IMG_0911

2 - I entered the first post

IMG_0912

3 - Returned to /r/nextjs, and now the posts below are also marked as read, even though I haven't read them

IMG_0913

4 - Here's a video

https://github.com/lo-cafe/winston/assets/66678781/6f2136f6-cbc3-4f45-9b84-4299eb2f2deb

5 - JFYI

I created a theme in options and then configured the "posts links > card > Unseen type" as Fade, but the same still occurs with dot.

IMG_0914

Winston (please complete the following information):

Device (please complete the following information):

Additional context

ojsef39 commented 7 months ago

i think that’s a read on scroll issue

valberjr commented 7 months ago

Indeed, that’s a read on scroll issue. I disabled it here, and it worked as expected.

ojsef39 commented 7 months ago

Indeed, that’s a read on scroll issue. I disabled it here, and it worked as expected.

perfect, yeah im using the same workaround atm. hope this gets fixed soon :)