analogdevicesinc / adi-kuiper-imager

Other
6 stars 0 forks source link

Storage: Ejecting the selected SD Card does not automatically update on the imager #26

Closed HRosete closed 1 year ago

HRosete commented 2 years ago

Environment

Describe the bug

Ejecting the selected SD Card or any other storage device does not automatically update on the imager. Please see the screenshots below. It still functions as an imager with a properly selected SD card would: it can even "Erase" the said phantom SD Card (only applicable on Windows).

To Reproduce

Steps to reproduce the behavior:

  1. Plug an SD card on your machine and select it as the storage to be configured in the Kuiper Imager.
  2. Eject the SD card, observe the imager.

Screenshots

The SD Card is now ejected... Screenshot from 2022-11-16 11-05-59

...and it still shows in the imager's storage. image

I can even choose to "erase" the contents of the SD Card: image image

AlexandraTrifan commented 1 year ago

A mechanism was added to check periodically for the selected storage. If the mechanism detects that the storage was disconnected, it will automatically change the storage button to a different state. Will be available in RC2

cseptimo commented 1 year ago

Storage device can automatically detect whether the SD card is available, unavailable or ejected. This is fixed in RC2, checked it on Linux. Item is ready to be closed.