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

Account is missing in UI (-> Multiple current accounts in ChooseAccountDialogFragment) #4492

Open
mahibi opened this issue Nov 27, 2024 · 4 comments · May be fixed by #4667
Open

Account is missing in UI (-> Multiple current accounts in ChooseAccountDialogFragment) #4492

mahibi opened this issue Nov 27, 2024 · 4 comments · May be fixed by #4667
Assignees
Milestone

Comments

@mahibi
Copy link
Collaborator

mahibi commented Nov 27, 2024

App version 20.1.0RC1 (but bug was seen also on older versions)


I saw that in ChooseAccontDialogFragment when lisiting all accounts, two of them were marked as current account!

As a result, the "current accounts" were not listed in the list. (But only one should have been marked as current and not listed.)

One of the current accounts is shown at the top where the status can be set.

After switching to a third account, the current states we correct again, so only one account was marked as current and all were listed as expected.

Bug. Two accounts marked as current (userId is only identical because it's the same name on different instances. This is ok, logging should be better though):
Image

"Self healed" after account was switched to a third user:
Image

This might also explain more multi account issues.

Todo:

check where/how accounts are set to "current"

@mahibi mahibi added this to the 20.1.0 milestone Nov 27, 2024
@mahibi mahibi self-assigned this Nov 27, 2024
@mahibi mahibi changed the title Account is missing. (-> Multiple current accounts in ChooseAccontDialogFragment) Account is missing in UI (-> Multiple current accounts in ChooseAccontDialogFragment) Nov 27, 2024
@AndyScherzinger AndyScherzinger modified the milestones: 20.1.0, 20.1.1 Dec 3, 2024
@XueSheng-GIT
Copy link

I've updated to v20.1.1 and the account switcher was working initially. But now one of two accounts is not visible anymore.
Any chance to get that account back?

@mahibi
Copy link
Collaborator Author

mahibi commented Jan 20, 2025

I plan to have a closer look on this bug this week!

Any chance to get that account back?

Getting a notification for the other user and clicking on it might fix the currentUser state as a workaround, but i did not test

@XueSheng-GIT
Copy link

Getting a notification for the other user and clicking on it might fix the currentUser state as a workaround, but i did not test

Tanks, that worked!

@mahibi mahibi changed the title Account is missing in UI (-> Multiple current accounts in ChooseAccontDialogFragment) Account is missing in UI (-> Multiple current accounts in ChooseAccountDialogFragment) Jan 24, 2025
@mahibi
Copy link
Collaborator Author

mahibi commented Jan 24, 2025

good chance that it's about the same problems that are described in #2581

@mahibi mahibi modified the milestones: 20.1.1, 21.0.0 Jan 27, 2025
@mahibi mahibi linked a pull request Jan 28, 2025 that will close this issue
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants