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

QFileSystemWatcher watching a directory prevents that directory from being modified or removed

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • 4.6.2
    • None
    • Windows 7 x64

    Description

      I'm using QFileSystemWatcher to monitor directories for changes. However, I'm seeing behavior on my Windows 7 test machine where watched directories (but not subdirectories within them) are locked by the file system, and deletes are not allowed.

      Under the documentation for QFileSystemWatcher, it is stated, "If path specifies a directory, the directoryChanged() signal will be emitted when path is modified or removed from disk;" This seems to imply that this is not intended functionality, to prevent watched directories from being removed.

      Attachments

        Issue Links

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

          Activity

            People

              w00t Robin Burchell
              jones William Jones
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes