https://bugs.kde.org/show_bug.cgi?id=378147

Boudewijn Rempt <b...@valdyas.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://commits.kde.org/kri |https://commits.kde.org/kri
                   |ta/829876d88b5fbdc1a79d235d |ta/ce183f5050c5b66fe89b0818
                   |11a459753a1fd81d            |ede64d6e068ad6ad

--- Comment #5 from Boudewijn Rempt <b...@valdyas.org> ---
Git commit ce183f5050c5b66fe89b0818ede64d6e068ad6ad by Boudewijn Rempt, on
behalf of Wolthera van Hövell tot Westerflier.
Committed on 12/09/2017 at 16:55.
Pushed by rempt into branch 'krita/3.3'.

Basically, this was caused by the backups.
Krita handles backups by saying "ok, you, old file, rename to backup,
and new file, you become the url of old file". This renaming is what
signals QFileSystemWatcher, and because it is a rename, it removes it
from the list of watched files.

So what we do is that when we get our change in, we check if the file
exists and is still being watched, and if so we readd it.

M  +4    -0    libs/ui/kis_safe_document_loader.cpp

https://commits.kde.org/krita/ce183f5050c5b66fe89b0818ede64d6e068ad6ad

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to