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

QFileSystemWatcher::fileChanged()

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes