microsoft / AzureStorageExplorer

Easily manage the contents of your storage account with Azure Storage Explorer. Upload, download, and manage blobs, files, queues, tables, and Cosmos DB entities. Gain easy access to manage your virtual machine disks. Work with either Azure Resource Manager or classic storage accounts, plus manage and configure cross-origin resource sharing (CORS) rules.
Creative Commons Attribution 4.0 International
378 stars 87 forks source link

Opening a blob container from view all after tree view refresh or from restored session doesn't have display path #8197

Open richardMSFT opened 2 months ago

richardMSFT commented 2 months ago

Preflight Checklist

Storage Explorer Version

1.36-dev

Regression From

No response

Architecture

arm64

Storage Explorer Build Number

No response

Platform

All

OS Version

No response

Bug Description

Opening a blob container from the blob container explorer (view all) when the blob service node has not been loaded in the tree view results in the opened tab not knowing the resource path. The effect of this is that the tab opened from view all is not registered in the TabPanelPathManager and therefore won't have a display path when multiple tabs are open with the same name in that TabPanel.

Steps to Reproduce

  1. Open blob container explorer (view all) tab
  2. Either refresh tree view or close Storage Explorer with Preserve Explorer Session configuration enabled
  3. Open a blob explorer from view all
  4. Open another blob explorer from the tree view with the same name as the one opened previously
  5. Observe that no display path is shown

Actual Experience

No display path is shown to the side of the tab display name when multiple tabs are open with the same name as the tab opened from view all.

Expected Experience

The tab shows a display path.

Additional Context

No response