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

[macOS] QFileSystemWatcher unable to watch paths with the same prefix

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.6.2, 5.9.0 Beta 3
    • Fix Version/s: 5.11.1
    • Labels:
      None
    • Environment:
      macOS 10.12
    • Platform/s:
      macOS

      Description

      If you try to watch two paths with the same prefix, the second one is ignored (no signal is emitted). I have seen this behaviour only under macOS (Windows and Linux are not affected).

      To replicate the issue, you can use these paths.
      1. /tmp/pathToWatch
      2. /tmp/pathToWatch2

      If you try to add/remove files inside these paths, the signals will be emitted only for /tmp/pathToWatch.

        Attachments

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

          Activity

            People

            • Assignee:
              mikhailsvetkin Mikhail Svetkin
              Reporter:
              mircomir Mirco Miranda
            • Votes:
              4 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes