Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple accounts bug: boosts from one account's home timeline appear in another's #4402

Open
nehemiagurl opened this issue Apr 28, 2024 · 8 comments
Labels

Comments

@nehemiagurl
Copy link

Detailed description

I have multiple accounts connected to Tusky.
Account 1 follows maloki. Account 2 does not.
multiple boosts from maloki appeared today in Account 2's home timeline.
Screenshot_20240428-213752_Tusky
trying to view the post or the boosting account results in an error:
Screenshot_20240428-212743_Tusky
Screenshot_20240428-213803_Tusky

Steps to reproduce the problem

  1. Connect Tusky to multiple accounts
  2. Have Account 1 follow Some User.
  3. Browse the home timeline of Account 2
  4. boosts from Some Account appear in Account 2's timeline

Debug information

Tusky 25.0 beta 1

Device:

samsung SM-A125F
Android version: 12
SDK version: 31

Account:

@[email protected]
Version: 4.2.8

@nehemiagurl
Copy link
Author

Right after writing this report, I got this bug with another user, this time with a regular post, non-boost. trying to view the posting account results in the same error.

@connyduck
Copy link
Collaborator

Do you remember what you did before this happened? Are those posts that are shown on the wrong account from the top of the right accounts timeline, or from randomly in between? How many posts are multiple? 1-2 or more like 10-20 or even more?

@nehemiagurl
Copy link
Author

no need to do anything in particular for this to happen - this occurs even after switching to Account 1 and back, or after closing the app and reopnening.
the posts are in random bursts in bewteen. there's 60-something posts from the correct account counting from the newest point of the timeline, then four wrong posts. then ten correct posts, then seven wrong ones.
they also appear consistently at the same point of the timeline. maybe that means only the newest posts in the timeline were refreshed and everything else stayed the same, I don't know.

@nehemiagurl
Copy link
Author

I'm not sure if and how to fully reload the home timeline, even if I force stop the app the wrong posts are in exactly the same place, idk if Tusky does some caching but if it does that's probably why

@connyduck
Copy link
Collaborator

Yes there is a cache, to remove it you will have to log out & login again for all affected accounts.
Once the posts are in the wrong timeline they will stay there.
The question is how do they end up there in the first place 🤔

@nehemiagurl
Copy link
Author

then assuming all wrong posts were fetched at the same time, it will be quite hard to pinpoint the action that happened right before it. the first wrong posts are from 11 hours ago and they appear in the correct spot in the timeline (i.e. above posts that are 12 hours old but below ones that are 10 hours old). I also switched to Account 2 multiple times throughout the day, but I only scrolled down enough to see the wrong posts for the first time right before filing this report.

@kouya
Copy link

kouya commented May 11, 2024

I am having the (maybe) similar issue. Here is what I observed:

I've newly installed 25.1 from f-droid
Added 7 accounts to it (5 bots posting foxes, don't judge me!)
Then some weird issue occurred.

My main account would have 30 older posts (all were 1d old, collection of boosts and posts) on top that never moved. New posts would appear below them.
I logged out of it and back in, which fixed it on that account.
But then those 30 posts suddenly appeared on another account where they shouldn't be. Just as described above. This repeats if I log out of the "newly broken account".

I didn't really find a pattern, other than that the posts are always the same if they end up on another account and will stay on top. I originally used "log in with browser", which is firefox, because only that had the passwords saved and I was too lazy.

Cleared the cache on the settings but didn't change anything.

Logged out of all accounts and readded them via "log in with tusky" but the same posts reappeared on one of the accounts. Was neither the first one added, nor the last. Actually it was specifically the 4th added but that's probably just random coincidence.

Not sure if any of that helps, but maybe some behaviour there will point to something. :3

Oh and one more thing: It happened on my device running Android 13 but it seems to work fine on a tablet I have with Android... uh... 8.1. I will try to leave it installed as is and see if it fix itself but it stayed like this for a day already.

@nehemiagurl
Copy link
Author

just happened again on the same two accounts (and in the same direction, so from Account 1 to Account 2 like before) on version 25.2 stable.
this time the posts are >2 days old so way harder to figure out what might have been the trigger.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants