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

QFileSystemWatcher does not detect when a USB drive with watched files is removed

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Duplicate
    • Affects Version/s: 5.6.2, 5.8.0
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      Qt 5.6.2/Qt 5.8.0, Win 10

      Description

      QFileSystemWatcher does not emit any signals if the whole USB drive, which contains watched files/paths, is removed.

      Attached a test application, which starts watching the path (please set to point to your removable USB drive). It successfully reports changes in the drive's root folder, but does not report anything when the whole drive is unplugged.

        Attachments

          Issue Links

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

            Activity

              People

              • Assignee:
                kleint Friedemann Kleint
                Reporter:
                henrik_h Henrik
              • Votes:
                2 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes