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

QFileSystemWatcher::fileChanged()

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Out of scope
    • Affects Version/s: 4.6.1
    • Fix Version/s: None
    • Component/s: Core: I/O
    • Labels:
      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

              Assignee:
              stormols Marius Storm-Olsen
              Reporter:
              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