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

        Issue Links

          For Gerrit Dashboard: QTBUG-55459
          # Subject Branch Project Status CR V

          Activity

            People

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

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes