[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-bugs-dist
Subject: [okular] [Bug 384185] Markdown backend does not reload automatically if the file has changed
From: Julian Wolff <bugzilla_noreply () kde ! org>
Date: 2017-09-07 11:18:38
Message-ID: bug-384185-17878-HlJEDJ26PZ () http ! bugs ! kde ! org/
[Download RAW message or body]
https://bugs.kde.org/show_bug.cgi?id=384185
Julian Wolff <wolff@julianwolff.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Latest Commit| |https://commits.kde.org/oku
| |lar/e3747ca3fd9b9926ff8c528
| |79da7fca1a620fef5
Status|UNCONFIRMED |RESOLVED
--- Comment #9 from Julian Wolff <wolff@julianwolff.de> ---
Git commit e3747ca3fd9b9926ff8c52879da7fca1a620fef5 by Julian Wolff.
Committed on 07/09/2017 at 11:18.
Pushed by jwolff into branch 'master'.
Fix automatic reload of files saved with QSaveFile
Summary:
Files saved with QSaveFile don't get dirty. They are deleted and replaced.
Thus, inotify and KDirWatch don't emit a "dirty" signal (which is the correct
behaviour).
Listening for the "created" signal of KDirWatch allows us to get notified on
replaced files.
Test Plan:
Opened a markdown document in Okular.
Edited and saved the document with Kate.
The file is reloaded in Okular as expected.
Reviewers: aacid
Reviewed By: aacid
Subscribers: sander, rkflx, #okular
Tags: #okular
Differential Revision: https://phabricator.kde.org/D7671
M +1 -0 part.cpp
https://commits.kde.org/okular/e3747ca3fd9b9926ff8c52879da7fca1a620fef5
--
You are receiving this mail because:
You are watching all bug changes.=
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic