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

    • Type: Bug
    • Status: Reported
    • Priority: P3: Somewhat important
    • Resolution: Unresolved
    • Affects Version/s: 5.7.0
    • Fix Version/s: None
    • Component/s: Quick: Dialogs
    • Environment:
      Windows

      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

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Activity

              People

              Assignee:
              srutledg Shawn Rutledge
              Reporter:
              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