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

[QFileSystemWatcher]Signal directoryChanged not emitted when deleting a subdirectory under windows 10

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.6.2
    • Core: I/O
    • None
    • Qt5.6.2 - windows 10-mingw-w64
      Qt5.6.2-linux
      Qt5.6.2-macos
    • Linux/X11, macOS, Windows

    Description

      Hi,
      I have tested with my app synchro (built again with Qt5.6.2). at the beginning of the app all the child paths of the directory watched are added recursevely and when a new directory is added the path is added.so the watcher watches all the paths.But when deleting a subdirectory (that is watched and not shift+del) under windows 10 the signal directoryChanged is not emitted for this deleted directory.I upload my app Synchro built with Qt5.6.2 (mingw4.9.2 of the site qt.io -release version)
      this app is for test purposes and the class is used in another app that we want to publish (fast finished)

      Attachments

        1. qfilesystemwatcher_fsevents_p.h
          5 kB
        2. qfilesystemwatcher_fsevents.mm
          20 kB
        3. qfilesystemwatcher_inotify_p.h
          3 kB
        4. qfilesystemwatcher_inotify.cpp
          13 kB
        5. qfilesystemwatcher_win_p.h
          5 kB
        6. qfilesystemwatcher_win.cpp
          20 kB
        7. slotondirectorychanged.cpp
          1.0 kB
        8. Synchro.exe
          39 kB
        9. synchropourqt.zip
          8 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            sorvig Morten Sørvig
            stephane78 stephane lemoine
            Veli-Pekka Heinonen Veli-Pekka Heinonen
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes