Bug 160493

Summary: Checksum should be recalculated after image modification by plugin
Product: [Applications] kphotoalbum Reporter: Tim McCormack <pons>
Component: generalAssignee: KPhotoAlbum Bugs <kpabugs>
Status: RESOLVED FIXED    
Severity: wishlist    
Priority: NOR    
Version: 3.0.2   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:

Description Tim McCormack 2008-04-07 03:25:23 UTC
Version:           3.0.2 (using KDE 3.5.8)
Installed from:    Ubuntu Packages

If an image is modified by a plugin, the checksum should be recalculated.

Reproduce:
* Rotate an image using the appropriate plugin
* Save and exit
* Move or rename the image
* Open KPA

Observed behavior:
* KPA lists the old image location as "missing/not on disk" (but with metadata), and shows the new location but does not have metadata. In short, KPA has failed to track the image.

Expected behavior:
* KPA should recognize the image by checksum even though it has moved.

This can be fixed by recomputing the checksum after in-program image modification.
Comment 1 Johannes Zarl-Zierl 2013-06-15 19:45:16 UTC
Git commit 4ceda6da3b747ac361961d7530031ebcf261741a by Johannes Zarl.
Committed on 15/06/2013 at 21:44.
Pushed by johanneszarl into branch 'master'.

Recalculate md5sum when image is changed by kipi-plugin.

M  +4    -1    MainWindow/Window.cpp

http://commits.kde.org/kphotoalbum/4ceda6da3b747ac361961d7530031ebcf261741a