-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
"Invalid Tab" Messages in Log #13987
Comments
I was able to reproduce the issue in the electron sample app, but only after working for a couple of hours. The editor I closed was a new file, I believe. |
I added some debug logging and it seems the invalid tab messages always come from {
"kind":2,
"index":-1,
"tabDto":{
"id":"11~code-editor-opener:file:///c%3A/Users/thomas/code/theia/packages/core/src/browser/shell/tab-bar-toolbar/tab-bar-toolbar-registry.ts:1",
"label":"tab-bar-toolbar-registry.ts",
"input":{
"kind":1,
"uri":{
"$mid":1,"path":"/c:/Users/thomas/code/theia/packages/core/src/browser/shell/tab-bar-toolbar/tab-bar-toolbar-registry.ts",
"scheme":"file"
}
},
"isActive":false,
"isPinned":false,
"isDirty":false,
"isPreview":false
},
"groupId":11
} |
I suspect the |
I was able to catch the moment the -1 index happens in the debugger. It happened when I was closing a tab: The situation was as follows:
=> so the tabInfo.group.tabs values are already corrupt that this point. Not clear whether the structure has been rebuilt or if it was corrupted incrementally. |
Since I did not move any tabs, I think the duplicat tab must come from
What if |
Bug Description:
While testing the 1.52.0 release, I found a bunch of error messages of the following for in the browser log:
Errors in tab tracking are more relevant than they may appear because the typescript language server relies on tracking the active tab to decide which files to error check, for example.
Steps to Reproduce:
n/a
Additional Information
The text was updated successfully, but these errors were encountered: