seazon / FeedMe

The documents and forum of FeedMe
1.23k stars 28 forks source link

After "Mark all read" some new items appear, already marked as read #744

Open christianglodt opened 1 month ago

christianglodt commented 1 month ago

Describe the bug I use FeedMe with a miniflux server via the Fever protocol. I read the "All Items" feed, and when I reach the end, I tap the "Mark all read" floating-action-button. When I do this, the list goes back to the top, and all items are marked as read (with a non-bold title). However, sometimes, I then see some new articles at the top of the list, which I've not seen before, and which are already marked as read. This does not always happen.

I have a theory about a possible cause. Could it be that FeedMe did a time-based auto sync in the background while I was looking at my feeds, and that "Mark all read" also marks new items from this auto sync as read?

I think the "Mark all read" button should only mark those items that are in the currently shown list, not any new ones from a sync operation that are not currently shown.

To Reproduce I don't have a tested way to reproduce this problem. It might be possible like this:

  1. Go to your "All Items" feed, scroll to the bottom.
  2. Wait for a background "Auto Sync" to be performed. Somehow be sure some new articles are in your feeds.
  3. Tap the "Mark all read" floating-action-button.
  4. Presumably, if my theory is correct, the new articles will suddenly appear at the top of the list, already marked as read.

Expected behavior I would expect any new items that are obtained by background sync to remain unread. I would expect the "Mark all read" button to only affect those articles that are in the list that is currently shown.

Device info

jmoses commented 4 days ago

I maybe see this issue, or something related. When I "Mark as read" there are a few articles that stay in the list, I believe the ones that I have clicked on to read fully. They are still marked read, but they don't disappear like the other articles. This is new behavior the last week-ish, or so.