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

Share to other account leaves UI inbetween two accounts in tusky test #4766

Open
codl opened this issue Nov 16, 2024 · 1 comment
Open

Share to other account leaves UI inbetween two accounts in tusky test #4766

codl opened this issue Nov 16, 2024 · 1 comment
Labels

Comments

@codl
Copy link
Contributor

codl commented Nov 16, 2024

Detailed description

In recent tusky test, sharing an image or text to an account that is not the currently active account leaves the ui in an inconsistent state where parts of the ui say that the previous account remains active but other parts of the ui load data and do actions from the new account

Steps to reproduce the problem

  1. Log into two different accounts in tusky, we'll call them A and B
  2. Load up the home timeline on A
  3. Share an image or a text snippet to tusky, and in the dialog asking which account to share with, choose B
  4. Post the post, or dismiss the compose screen
  5. Tusky now displays A's home timeline and shows A as the active account, but swiping to the other tabs shows B's notifications, B's local timeline, etc. Tapping the Compose button shows the compose screen for B. Faving or bookmarking posts in the home tab is done from A's account but tapping on a post loads it from B's account (which fails if A and B are on different instances) and any actions taken from the post view are done from B.
  6. Closing and reopening tusky, or switching accounts, clears the issue.

Debug information

Tusky Test 26.2-fa35648a

Device:
Fairphone FP4
Android version: 13
SDK version: 33

Accounts:
codl@chitter.xyz, codltest@chitter.xyz
Version: 4.2.10
codl@donphan.social
Version: 4.3.1+glitch.donphan.social
codl@reentry.codl.fr
Version: GoToSocial 0.17.1+git-8a93300

@codl codl added the bug label Nov 16, 2024
@connyduck
Copy link
Collaborator

oh no

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

2 participants