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

view descriptor created with containerTitle that is not a string #191842

Merged
merged 1 commit into from
Aug 30, 2023

Conversation

aeschli
Copy link
Contributor

@aeschli aeschli commented Aug 30, 2023

Fixes #191419

Causes the context menu on the activity bar to throw an exception. See #191419

The cast prevented the proper type checking so that IViewDescriptor.containerTitle could be a ILocalizedString instead of a string

containerTitle: item.contextualTitle || viewContainer?.title,

I removed the cast and corrected the type.

FYI @sandy081

@aeschli aeschli self-assigned this Aug 30, 2023
@aeschli aeschli enabled auto-merge (squash) August 30, 2023 21:07
@VSCodeTriageBot VSCodeTriageBot added this to the August 2023 milestone Aug 30, 2023
@aeschli aeschli merged commit 511b759 into main Aug 30, 2023
7 checks passed
@aeschli aeschli deleted the aeschli/tart-mammal-569 branch August 30, 2023 22:35
@sandy081
Copy link
Member

Thanks for the fix

@github-actions github-actions bot locked and limited conversation to collaborators Oct 14, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

VSCode hangs when right-clicking on the activity bar with WSL plugin enabled
4 participants