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

QFileSystemWatcher::fileChanged()

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Out of scope
    • Icon: Not Evaluated Not Evaluated
    • None
    • 4.6.1
    • Core: I/O
    • None

      With QFileSystemWatcher on Linux, the signal fileChanged() is emitted multiple times when writing a big file. It looks like the fileChanged() signal is triggered each time a flush() is done on the watched file. It would be more convenient if the signal was only emitted when a close() is done on the watched file.

      The bug appears with the inotify and dnotify backends but more frequently with inotify.

      Reproducible since Qt 4.5.1 at least.

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

            stormols Marius Storm-Olsen
            tc@4js.com Tristan Chabredier
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes