progwolff created this revision. Restricted Application added a subscriber: Okular. Restricted Application added a project: Okular.
REVISION SUMMARY Files saved with QSaveFile don't get dirty. The are deleted and replaced. Thus, inotify and KDirWatch don't emit a "dirty" signal (wich is the correct behaviour). Listening for the "created" signal of KDirWatch allows us to get notified on replaced files. BUG: 384185 TEST PLAN Opened a markdown document in Okular. Edited and saved the document with Kate. The file is reloaded in Okular as expected. REPOSITORY R223 Okular BRANCH master REVISION DETAIL https://phabricator.kde.org/D7671 AFFECTED FILES part.cpp To: progwolff, aacid Cc: #okular, aacid