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

QFileSystemModel leaks QFileWatcher paths

    XMLWordPrintable

Details

    • 30ada569454de1ec1d10bf7261d413ddd9b962a5

    Description

      Apply the attached diagnostic patch to Qt.
      1) Launch the examples/itemviews/dirview example and watch paths being added to QFileSystemWatcher as you navigate them. They are never removed
      even if the directories are closed
      2) Create an application that provides a flat view using QFileSystemModel::setRootPath() and QItemView::setRootIndex . Note that the watchers are also leaked if you call
      QFileSystemModel::setRootPath().

      Not sure if 1) is fixable, but 2) is evil.

      Attachments

        1. diag_fs.patch
          0.8 kB
        2. diag_fs.patch
          1 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            menard Alexis Menard (closed Nokia identity) (Inactive)
            kleint Friedemann Kleint
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes