vscode-azurefunctions
vscode-azurefunctions copied to clipboard
The context menu doesn't pop up when right clicking the renamed application setting
OS: All Azure Resources Build Link: vscode-azuresourcegroups-0.8.1-alpha.2 1.vsix Azure Functions Version: v1.13.1 VS Code Version: 1.85.0
Repro Steps:
- Expand a function app -> Expand Application Settings -> Right click Application Settings -> Click "Add new Setting..." -> Enter name -> Enter value.
- Right click the above setting -> Click "Rename Setting" -> Enter a new name -> The Application Settings list doesn't auto refresh -> Right click above application setting.
- Check whether the context menu pops up.
Expect: The context menu pops up when right clicking the renamed application setting.
Actual:
- The context menu doesn't pop up when right clicking the renamed application setting.
- An error occurs when clicking the application setting.
More Info:
- The view overlaps when clicking Application Setting node.
- This issue also reproduces for App Services Extension.
I think that this has to do with the data property not being refreshed properly after we've retrieved it the first time. A full refresh of the tree should fix this, but we should probably revisit how we're storing the data property on the tree items.