[Interest] QFileSystemWatcher and kate

Christian Ehrlicher Ch.Ehrlicher at gmx.de
Sun Sep 3 10:21:26 CEST 2017


Hi,

I stumbled across a problem with QFileSystemWatcher on Linux. It looks 
like the inotify implementation does not honor a file replace action as 
expected.
I'm adding a file with addPath() to watch for changes. But after I edit 
the file with kate (or any other editor which saves the file in a temp 
file and then renaming it to correct name), the QFileSystemWatcher does 
no longer watch for modifications...
Looking in the bug tracker I also found a bug which describes the 
problem: 
https://bugreports.qt.io/browse/QTBUG-19350?jql=text%20~%20%22qfilesystemwatcher%22
So it looks like this bug exists since inotify support was added but the 
bug report was closed because it was not reproducible (maybe not tested 
with inotify).
Therefore my question - how to reopen this bug or should I file a new one?

Thx,
Christian



More information about the Interest mailing list