vscode-azurefunctions icon indicating copy to clipboard operation
vscode-azurefunctions copied to clipboard

The context menu doesn't pop up when right clicking the renamed application setting

Open v-chenzha opened this issue 2 years ago • 1 comments

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:

  1. Expand a function app -> Expand Application Settings -> Right click Application Settings -> Click "Add new Setting..." -> Enter name -> Enter value.
  2. 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.
  3. Check whether the context menu pops up.

Expect: The context menu pops up when right clicking the renamed application setting.

Actual:

  1. The context menu doesn't pop up when right clicking the renamed application setting.
  2. An error occurs when clicking the application setting. image

More Info:

  1. The view overlaps when clicking Application Setting node. image
  2. This issue also reproduces for App Services Extension.

v-chenzha avatar Dec 12 '23 10:12 v-chenzha

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.

nturinski avatar Dec 13 '23 18:12 nturinski