FreeTube icon indicating copy to clipboard operation
FreeTube copied to clipboard

Duplicates of comment replies

Open ssnor opened this issue 4 years ago • 5 comments

Behavior of the program In the comment section, when you click "View * replies" more than once during the time it takes to fetch the comments, FreeTube will display the fetched comments with as many duplicates as you clicked "View * replies".

Expected behavior For FreeTube to only display the fetched comments once. Alternatively one might double click because you quickly regretted your decision to view the replies, and thus would expect FreeTube to hide the replies.

To Reproduce

  1. Use Local API
  2. Go to any video that has comments with replies
  3. Click "Click to View Comments"
  4. Click on "View * replies" more than once during the time it takes to fetch the comments
  5. See the error in how the fetched replies are displayed

Environment Information:

  • OS: Fedora
  • OS Version: Fedora 34 (Workstation Edition)
  • FreeTube version: v0.15.1-nightly-1377 Beta
  • Installation Method: .rpm
  • Primary API Used: Local API, this bug does not appear when using the Invidious API

ssnor avatar Jan 07 '22 19:01 ssnor

do you have examples because i cant reproduce

I'm able to reproduce

ghost avatar Jan 07 '22 21:01 ghost

Im curious. Do you have a few links for me to test out?

You should be able to reproduce with any video (if using local api) comments repeat

ghost avatar Jan 07 '22 22:01 ghost

Can reproduce it was just user error on my end.