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

wolthera <griffinval...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|CONFIRMED                   |RESOLVED
      Latest Commit|                            |https://commits.kde.org/kri
                   |                            |ta/829876d88b5fbdc1a79d235d
                   |                            |11a459753a1fd81d
         Resolution|---                         |FIXED

--- Comment #4 from wolthera <griffinval...@gmail.com> ---
Git commit 829876d88b5fbdc1a79d235d11a459753a1fd81d by Wolthera van Hövell tot
Westerflier.
Committed on 12/09/2017 at 16:24.
Pushed by woltherav into branch 'master'.

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/829876d88b5fbdc1a79d235d11a459753a1fd81d

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

Reply via email to