You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Tabnine extension removes the logout menu from the authentification menu by "accidentally" sending the same added and removed property in this code. This removes the logout option from then tabnine auth menu. I would usually say this is a plugin issue, but while debugging I've noticed that vscode doesn't receive the same event. Let me break it down:
Theia:
Theia receives the added event and adds a logout menu entry for tabnine
Roughly ~1 second later it receives another added event together with removed. Both contain the same account information
Theia deletes the logout menu entry for tabnine, making it impossible to logout via the menu.
Screenshot for reference:
vscode:
VSCode receives the added event adds a logout menu entry for tabnine.
Afterwards, vscode receives no further events.
I've tracked this down to the State that the Tabnine extension receives from its native binary. For some reason the State is different, triggering another round of events. This isn't the case for vscode, even though there's no obvious reason why. Since the login state hasn't actually changed, the plugin will incorrectly add and remove the auth token for Theia in the same event, making it effectively disappear.
Steps to Reproduce:
Install the tabnine extension
Login
Wait a few seconds
The logout option should be missing in the auth menu.
Additional Information
Operating System: Windows
Theia Version: 1.45.0
The text was updated successfully, but these errors were encountered:
Bug Description:
The Tabnine extension removes the logout menu from the authentification menu by "accidentally" sending the same
added
andremoved
property in this code. This removes the logout option from then tabnine auth menu. I would usually say this is a plugin issue, but while debugging I've noticed that vscode doesn't receive the same event. Let me break it down:Theia:
added
event and adds a logout menu entry for tabnineadded
event together withremoved
. Both contain the same account informationScreenshot for reference:
vscode:
added
event adds a logout menu entry for tabnine.Afterwards, vscode receives no further events.
I've tracked this down to the
State
that the Tabnine extension receives from its native binary. For some reason theState
is different, triggering another round of events. This isn't the case for vscode, even though there's no obvious reason why. Since the login state hasn't actually changed, the plugin will incorrectly add and remove the auth token for Theia in the same event, making it effectively disappear.Steps to Reproduce:
Additional Information
The text was updated successfully, but these errors were encountered: