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
365 stars 85 forks source link

The 'No' button is focused instead of 'Yes' button in the delete entity dialog #7885

Closed v-kellyluo closed 2 months ago

v-kellyluo commented 2 months ago

Storage Explorer Version: 1.34.0-dev (98) Build Number: 20240419.1 Branch: main Platform/OS: Windows 11/Linux Ubuntu 22.04/MacOS Sonoma 14.4(Apple M1 Pro) Architecture: arm64/x64/arm64 How Found: From running test cases Regression From: Previous release (1.33.1)

Steps to Reproduce

  1. Expand one storage account -> Tables.
  2. Create a table -> Add an entity.
  3. Select the entity -> Click 'Delete'.
  4. Check whether the 'Yes' button is focused in the delete entity dialog.

Expected Experience

The 'Yes' button is focused. image

Actual Experience

The 'No' button is focused. image

craxal commented 2 months ago

This was intentional, as we normally want to avoid defaulting an affirmative choice for a destructive operation. But for some reason, that decision was not widely implemented, so I'll switch this back for consistency reasons.

v-kellyluo commented 2 months ago

Verified this issue on the build 20240421.1. Fixed.