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

Dmitry Kazakov <dimul...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://invent.kde.org/grap
                   |                            |hics/krita/commit/a72eb7495
                   |                            |b66edd923408ed8819b59189028
                   |                            |9b2f
         Resolution|---                         |FIXED
             Status|CONFIRMED                   |RESOLVED

--- Comment #8 from Dmitry Kazakov <dimul...@gmail.com> ---
Git commit a72eb7495b66edd923408ed8819b591890289b2f by Dmitry Kazakov.
Committed on 31/07/2020 at 21:31.
Pushed by dkazakov into branch 'master'.

Fix update of file layers created via "Convert to" menu

`FileSystemWatcherWrapper` works with absolute paths, but
`KisSafeDocumentLoader` works with the original path as it
was passed to the layer. We should unify these paths in
`KisSafeDocumentLoader::fileChanged()`.

The patch also fixes lost connections, when the file is
temporary deleted (moved) and its recreation is delayed
by something. Previously, FileSystemWatcherWrapper::slotFileChanged
could just forget about it. Now it maintains a list of missing
files in `m_lostFilesAbsenceCounter` and tries to reconnect to
them with 200 ms intervals.

PS:
The tracked file may be removed/recreated because of QSaveFile
functionality.

M  +5    -0    libs/global/kis_signal_compressor.cpp
M  +2    -0    libs/global/kis_signal_compressor.h
M  +62   -12   libs/ui/kis_safe_document_loader.cpp

https://invent.kde.org/graphics/krita/commit/a72eb7495b66edd923408ed8819b591890289b2f

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

Reply via email to