[Digikam-devel] [Bug 142457] temp files not cleaned up after crashes

Andi Clemens andi.clemens at gmx.net
Tue Jul 22 01:50:04 BST 2008


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=142457         




------- Additional Comments From andi.clemens gmx net  2008-07-22 02:50 -------
I think it is nearly impossible to solve the cleanup of left over cache files, because you can always have multiple instances of showFoto / digiKam running.
This makes it very hard to decide which files can be removed and which not.
If you want to be platform independent (every system has its own way of defining / getting process IDs), this can't be done... or I'm just not able to find a good solution.
I spent a lot of time on this now and somehow I'm tired of it. All in all this is KDE's fault, not digiKam, because the cache dirs are not cleanup on logout. This seems to be fixed in KDE4, so I will stop working on this for KDE3 branch.
One of the problems was that showFoto didn't cleanup cache files at all, even not on a clean shutdown of the program. This was fixed in the current SVN (and 0.9.4 final). But deleting old cache files (at least on logout) should be done by KDE itself...
So I'm thinking about closing this one now... Is this ok for you all?



More information about the Digikam-devel mailing list