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

It is better to enlarge the 'Update Access Tier' dialog to ensure there is no scrollbar #8001

Open v-xianya opened 2 weeks ago

v-xianya commented 2 weeks ago

Storage Explorer Version: 1.35.0-dev (98) Build Number: 20240612.1 Branch: main Platform/OS: Windows11/Windows 10 Architecture: arm64/x64 How Found: From running test cases Regression From: Not a regression

Steps to Reproduce

  1. Expand one storage account -> Blob Containers.
  2. Create a blob container -> Upload one blob with archive access tier.
  3. Right click the archive blob -> Click 'Change Access Tier...'.
  4. Click 'Apply' on the update access tier dialog.
  5. Then right click the blob -> Click 'Change Access Tier...'.
  6. Set the rehydration priority to 'High'.
  7. Check there is no scrollbar on the dialog.

Expected Experience

It is better to enlarge the dialog to ensure there is no scrollbar.

Actual Experience

There is a scrollbar on the dialog. image

Additional Context

This issue doesn't reproducer on Linux Ubuntu 22.04 & MacOS Sonoma 14.5(Apple M1 Pro).

craxal commented 2 weeks ago

@JasonYeMSFT "Invisible" elements aren't always accounted for when dialog auto-sizing code runs (for example, when display: none is used). Either expand the dialog's default size or make sure even invisible elements' layouts are accounted for.