AzureStorageExplorer icon indicating copy to clipboard operation
AzureStorageExplorer copied to clipboard

The blob container name shows instead of full path when hovering over one blob container tab which is opened from a restored view all containers explorer

Open v-kellyluo opened this issue 1 year ago • 2 comments
trafficstars

Storage Explorer Version: 1.34.0-dev (98) Build Number: 20240306.5 Branch: main Platform/OS: Windows 10/Linux Ubuntu 22.04/MacOS Sonoma 14.3(Apple M1 Pro) Architecture: x64/x64/x64 How Found: Ad-hoc testing Regression From: Not a regression

Steps to Reproduce

  1. Open ’Settings' panel -> Check the setting 'Preserve Explorer Session'.
  2. Expand one storage account.
  3. Right click 'Blob Containers' node -> Click 'View All'.
  4. Restart Storage Explorer.
  5. Open one blob container from the restored view all containers explorer.
  6. Hover over the opened tab.
  7. Check whether a full path shows.

Expected Experience

A full path shows. image

Actual Experience

Only show the blob container name. image

v-kellyluo avatar Mar 07 '24 07:03 v-kellyluo

@jasonyeMSFT I believe this is by design, since the association with nodes is broken when Storage Explorer closes, right?

craxal avatar Mar 07 '24 17:03 craxal

This is not by design. The full path is a part of the tab data stored. The restored tab should still show the full path regardless of the state of the tree view. It's meant to help people distinguish tabs with identical names (e.g. blob container with the same name in different storage accounts).

JasonYeMSFT avatar Mar 07 '24 17:03 JasonYeMSFT

This is in fact by design. In a non-restart/restore scenario here's how things work:

  1. View all explorer is opened, it has an association with a "Blob Containers" node
  2. Container is double clicked in view all
  3. View all code queries the children of the associated "Blob Containers" node to find the container node for the double clicked container
  4. Blob container explorer is opened, with an association to the queried container node

However, in a view all explorer that is restored, it does not have a working association with a "Blob Containers" node. Therefore the query for the child container node cannot be accomplished.

MRayermannMSFT avatar Mar 19 '24 18:03 MRayermannMSFT