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 |https://invent.kde.org/grap |hics/krita/commit/a72eb7495 |hics/krita/commit/1b912acc8 |b66edd923408ed8819b59189028 |14f616772ef17a1a5020af257d4 |9b2f |5d51 --- Comment #9 from Dmitry Kazakov <dimul...@gmail.com> --- Git commit 1b912acc814f616772ef17a1a5020af257d45d51 by Dmitry Kazakov. Committed on 31/07/2020 at 21:39. Pushed by dkazakov into branch 'krita/4.3'. 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/1b912acc814f616772ef17a1a5020af257d45d51 -- You are receiving this mail because: You are watching all bug changes.