microsoft / vscode-docker

Docker Extension for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=ms-azuretools.vscode-docker
Other
1.19k stars 508 forks source link

The subscriptions disappear in the Registries view after selecting several subscriptions from Azure view #4161

Closed v-xinda closed 7 months ago

v-xinda commented 7 months ago

OS: GitHub Codespaces (Remote) Build Version: 20231107.2

Repro Steps:

  1. Connect "Azure" registry -> Expand it -> All subscriptions display.
  2. Install the Azure Resource extension -> Navigate to Azure view -> Select several subscriptions (Not all).
  3. Navigate to Docker view -> Refresh the Registries view.
  4. Check whether the subscriptions still display.

Expect: The subscriptions still display.

Actual: The subscriptions disappear.

More Info: This issue doesn't reproduce on the Local Codespaces environment.

bwateratmsft commented 7 months ago

This is by-design. The subscription filters set by the Azure Resources extension will be respected by the Docker extension. We need to document this behavior though, I will include it in the documentation for #4147.