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

Data Explorere context menu items aren't consistent when switching between trees #23958

Open
Charles-Gagnon opened this issue Jul 21, 2023 · 1 comment

Comments

@Charles-Gagnon
Copy link
Contributor

Stable 1.44+

Right click on various Data Explorer nodes in two different contexts - for example CMS and Azure. The menu items that show up start to be wrong - showing menu items from the previous node instead.

If you right click on a different node in the same tree then it seems to "reset" and show the correct nodes again.

WrongMenuItems

@Charles-Gagnon
Copy link
Contributor Author

Dug into this a little bit and it seems like the action handler is getting the correct node, but then something in the menu item generation is coming back with different results

private getActions(menuId: MenuId, element: ITreeItem, listen: boolean = false): { menu?: IMenu; primary: IAction[]; secondary: IAction[] } {

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Status: Needs triage
Development

No branches or pull requests

5 participants