Summary: | Editor image cache not flush when an image is modified outside digikam | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | polarbear <polar88bear> |
Component: | ImageEditor-Workflow | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | caulier.gilles |
Priority: | NOR | ||
Version: | 0.9.0 | ||
Target Milestone: | --- | ||
Platform: | Gentoo Packages | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 0.9.1 | |
Sentry Crash Report: |
Description
polarbear
2006-11-17 16:04:56 UTC
I can confirm this cache problem with current implementation. Marcel, cache mechanism is your (:=)). Perhaps KDE API provide a way to get an event if file have been changed by other applications... Gilles Caulier Yes, KDirWatch can watch files as well. Is this critical for 0.9.0? Marcel, try to reproduce the problem and judge if if necessary to fix it before 0.9.0 release. Gilles The solution is to create a KDirWatch in the right place which watches the files currently in the cache, and remove them from the cache when changed. I don't think this is release critical, I would prefer to fix it post-0.9.0. SVN commit 616088 by mwiesweg: Watch files contained in LoadingCache for changes from external programs: - set a KDirWatch on all contained files - update after cache operations M +83 -3 loadingcache.cpp M +15 -2 loadingcache.h M +1 -1 loadingcacheinterface.cpp M +1 -1 loadsavetask.cpp This bug was fixed in 0.9.1 but came back again in 0.9.2. Please reopen it. |