Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-55459

Windows: QML FileDialog keeps USB drive locked if user navigates to the drive, until application is closed

    XMLWordPrintable

Details

    Description

      When user navigates to USB drive in QML FileDialog, the application locks the USB stick so that the Windows' safely eject drive functionality is locked. There is no way to unlock this functionality apart from closing the user's application. User does not need to accept / cancel or open any file in the drive, it is just enough to open the drive to see the files in it when using the FileDialog.

      Steps to reproduce:

      • Run attached sample with qmlscene
      • Press the Open File Dialog button
      • Navigate to USB drive
      • Press accept or cancel to close the dialog
      • Choose Windows safely eject media and try to eject the usb drive that was navigated to before
      • EXPECTED: USB drive is safely ejected
      • ACTUAL: Error is shown that the USB drive is in use

      Attachments

        1. qtbug55459_decl_diag.diff
          1 kB
          Friedemann Kleint
        2. qtbug55459.qml
          0.5 kB
          Jussi Witick

        Issue Links

          Activity

            People

              srutledg Shawn Rutledge
              jussi_witick Jussi Witick
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: