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

The deleted blob doesn't auto disappear in the tree view

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

OS: Win10 Azure Resource Group Build Version: 20230215.10 Azure Storage Build Version: v0.15.1

Repro Steps:

  1. Expand an attached storage account -> Create a blob container -> Create an empty blob to it.
  2. Delete the blob.
  3. Check whether the deleted blob auto disappears in the tree view.

Expect: The deleted blob auto disappears in the tree view.

Actual: The deleted blob doesn't auto disappear in the tree view.

More Info:

  1. This issue also reproduces for the local emulator accounts.
  2. This issue also reproduces for the file share.
  3. This issue doesn't reproduce for the common storage accounts.
  4. Refresh can fix this issue.

v-chenzha avatar Feb 17 '23 08:02 v-chenzha

I've reproduced this issue. However, I have noticed that sometimes it does automatically disappear. As far as I can tell, the proper onDidChangeTreeData event is being fired, with the correct data.

Since a refresh fixes it, this isn't too critical.

alexweininger avatar Feb 17 '23 21:02 alexweininger