Incorrect article gets opened #162

Open
opened 2024-11-17 09:54:45 +00:00 by davidoskky · 2 comments
Contributor

Description

Lately I had this problem happening: opening an article from the main page does open the article page, but with the incorrect article opened. It is still functional as you can swipe to the correct article, but it is annoying.

Steps to Reproduce

Not sure, I guess that you have to set read a few articles from the home and then open one.

I'll take a look at the problem a bit more in depth this week and try to send a PR with a fix.

### Description Lately I had this problem happening: opening an article from the main page does open the article page, but with the incorrect article opened. It is still functional as you can swipe to the correct article, but it is annoying. ### Steps to Reproduce Not sure, I guess that you have to set read a few articles from the home and then open one. I'll take a look at the problem a bit more in depth this week and try to send a PR with a fix.
Owner

Hi, thanks for the report.

I'll see if I reproduce it.

Hi, thanks for the report. I'll see if I reproduce it.
Author
Contributor

I'm able to reproduce it on an emulator with android API 35. When opening an article we pass the article position in the article list by using the position in the home recycler view.
For some reason, even without setting any article as read, the position in the recycler view is fiddly and often results in an incorrect position.
This problem is also inconsistent: opening and closing the same article several times results in different article positions being passed to the article viewer and as such different articles being opened each time.

Currently I only tested this using the Card view, in order to reproduce my phone settings. I'll have to see if this happens in list view as well.

I'm able to reproduce it on an emulator with android API 35. When opening an article we pass the article position in the article list by using the position in the home recycler view. For some reason, even without setting any article as read, the position in the recycler view is fiddly and often results in an incorrect position. This problem is also inconsistent: opening and closing the same article several times results in different article positions being passed to the article viewer and as such different articles being opened each time. Currently I only tested this using the Card view, in order to reproduce my phone settings. I'll have to see if this happens in list view as well.
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Louvorg/ReaderForSelfoss-multiplatform#162
No description provided.