-
Notifications
You must be signed in to change notification settings - Fork 29.4k
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
Clicking "Accounts" menu does not open the menu instantly #111398
Comments
This still reproduces @RMacfarlane @sbatten |
does this still repro? maybe its imperceptible to me? |
Yeah still seems slightly delayed to me, can we not check the code and see if a longer running promise prevents the menu from showing? |
looks like we fetch session info every time, so this probably adds some delay. @TylerLeonhardt maybe this can be cached and updated separately vscode/src/vs/workbench/browser/parts/activitybar/activitybarActions.ts Lines 216 to 290 in 8d2a6fa
|
Yeah that seems like a reasonable ask since it goes to the extension host and back, today. |
This issue has existed since 2 years! |
Before, we were calling out to the auth providers (thus going all the way to the extension host per provider) Now, we cache the accounts and handle events for when accounts change. This makes the account menu way snappier! Fixes #111398
Before, we were calling out to the auth providers (thus going all the way to the extension host per provider) Now, we cache the accounts and handle events for when accounts change. This makes the account menu way snappier! Fixes #111398
Update: reproduces in web + desktop
Steps to Reproduce:
=> 🐛 somehow the accounts menu only opens for me after a delay, as if something was resolved when clicking?
The text was updated successfully, but these errors were encountered: