Infinity-For-Reddit
Infinity-For-Reddit copied to clipboard
Duplicate Child Comments
Checklist
- [X] I have used the search function for open and closed issues to see if someone else has already submitted the same bug report.
- [X] I will describe the problem with as much detail as possible.
- [X] If the bug only occurs with a certain link, post, image..., I will include the URL.
App version
5.2.1 (100)
Where did you get the app from
Google Play
Android version
10
Device model
TECNO KE7
First occurred
Idk probably about some weeks ago
Steps to reproduce
- Open post
- Go through comments
- Open child comments
- Then the child comments are duplicated
Expected behaviour
The child comments should not be duplicate
Current behaviour
Duplicate child comments
Logs
No, the app dom't crash for me ever
I confirm this happens, it makes it really confusing to know to which parent these comments belong.
I have not been able to observe this behavior, including on the post screenshotted by @vahaala.
Do you have links to posts this is reproducible on?
I have not been able to observe this behavior, including on the post screenshotted by @vahaala.
Do you have links to posts this is reproducible on?
There is no specific post because this occurs in every post but does not occur every time.
I can also confirm this happening in several versions of the app ever since I started using it around a year ago.
Yep, exact same issue for me. Happens in almost every post with child comments. No rhyme or reason to which ones work fine and which are broken as far as I can tell.
For me it seems tonbe posts with many comments and specifically child comments
I think I fugured it out. It is easier to reproduce on slow internet because you need to do some actions while comments are loading.
Prerequisites (it's complicated, but pretty common in large posts) : "Load more comments" button that will load all children and disappear. I will call this target button. Some comments with children that can be collapsed before the target button but not parents of it. Collapsing a comment with about 4 children works best. Collapsing those comments should not change position of parent of the target button. Some comments after target button. (I think it will crash if there are none)
For example:
- Top level 1
-
- Child 1.1
-
-
- Child 1.1.1
-
-
-
- Child 1.1. 2
-
-
-
- .... (more children of 1.1)
-
-
- Target button (Load more comments)
- Top level 2
-
- Child 2.1
Steps:
- Click target button
- While comments are loading collapse
Child 1.1
- Wait for comments to load
Now things are already broken because comments get loaded under Top level 2
and the button continues to show "Loading"
- Collapse and expand
Top level 1
"Loading" button button disappears and loaded comments appear under correct parent. But comments under Top level 2
are still there, so there are duplicate comments.
I thought this was fixed in the last release? At least the problem hasn't been occuring for me anymore.
I thought this was fixed in the last release? At least the problem hasn't been occuring for me anymore.
It was #953. There are some similarities but the two bugs are unrelated