TwidereProject / TwidereX-iOS

Next generation of Twidere for iOS.
GNU General Public License v3.0
154 stars 10 forks source link

Duplicate entries #118

Open jcarnat opened 2 years ago

jcarnat commented 2 years ago

Hi,

There are regularly duplicates entries. Seen using Twitter and Mastodon accounts. Sometimes, the timeline is « normal », sometimes a refresh produces duplicates. Most of the time, posts appears twice. Sometimes, they appears three times. 937F3F9F-ED6B-42C5-AEC1-68668EEA4648

iPhone 12 Pro, using iOS 16 ; but it also happened in iOS 15.

MainasuK commented 2 years ago

Hello, @jcarnat.

I cannot reproduce that and It's a strange issue. The feeds already remove duplicates before persisting in the database when fetch batch of new tweets. It's not a range of rows duplicates but several rows duplicates multiple times in a range (123123 to 112233). So I think that duplicates raise due to table row configuration problem.

Could you try to scroll forward and back slowly to check if that duplicated row becomes normal? Or check the timeline in your Twitter website to make sure that really a duplicates rows.

Thank you.

jcarnat commented 2 years ago

Hi,

I just scrolled the Twitter and the application just died :) Then I restarted it, Twitter timeline was "normal". When I switched to Mastodon, the timeline was filled with toots appearing three times :(

jonnypencils commented 2 years ago

Hi. Seeing this exact behaviour also. Across mastodon and Twitter in version 1.4.3 iOS - lots of duplicates. Also, may or may not be linked, but I’m also getting 2 or 3 notifications per reply or mention.