Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.6.2, 5.9.0 Beta 3
-
None
-
macOS 10.12
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
For Gerrit Dashboard: QTBUG-60676 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
229618,5 | macOS: Fix QFileSystemWatcher to watch paths with the same prefix | 5.11 | qt/qtbase | Status: MERGED | +2 | 0 |
231317,1 | macOS: Fix QFileSystemWatcher to watch paths with the same prefix | dev | qt/qtbase | Status: ABANDONED | 0 | 0 |