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

It displays 'Folder is Empty' instead of selecting the azcopy log file when clicking 'Go to AzCopy Log File' for storage explorer installed by snap #7939

Open v-xianya opened 1 month ago

v-xianya commented 1 month ago

Storage Explorer Version: 1.34.0 (99) Build Number: 20240515.2 Branch: rel/1.34.0 Platform/OS: Linux Ubuntu 22.04 Architecture: x64 How Found: Exploratory testing Regression From: Not a regression

Steps to Reproduce

  1. Launch storage explorer that is installed by snap.
  2. Expand one storage account -> Blob Containers.
  3. Create a blob container -> Upload one blob.
  4. Select the blob -> Click 'Copy' -> Click 'Paste'.
  5. There is a failed activity log -> Click 'Go to AzCopy Log File' next to the failed activity log.
  6. Check whether the AzCopy log file is selected.

Expected Experience

The AzCopy log file is selected.

The screenshot of .tar storage explorer. image

Actual Experience

It displays 'Folder is Empty'. image

richardMSFT commented 1 month ago

Hi @v-xianya, I tried reproducing this bug following the exact same steps but I am getting the expected experience. I double checked and am running the same build on the same platform.

When I click on 'Go to AzCopy Log File', the file explorer opens up to the Home/snap/storage-explorer/x1/.azcopy directory with the log file selected.

Can you test to see if it is still reproducing on your machine? If it does, are there any other specific steps not mentioned above? Can you share a VM where this is repro-ing and I can try to take a look at what is happening there?

v-xianya commented 1 month ago

Hi @richardMSFT Thank you for the confirmation. This issue still reproduces on my side. here is the record. I have shared the repro vm on teams. 0517

richardMSFT commented 1 month ago

After investigation, this seems to be an electron bug with showItemInFolder. I've opened up an issue with electron here: https://github.com/electron/electron/issues/42251