Bug 160493 - Checksum should be recalculated after image modification by plugin
Summary: Checksum should be recalculated after image modification by plugin
Status: RESOLVED FIXED
Alias: None
Product: kphotoalbum
Classification: Applications
Component: general (show other bugs)
Version: 3.0.2
Platform: Ubuntu Linux
: NOR wishlist
Target Milestone: ---
Assignee: KPhotoAlbum Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-07 03:25 UTC by Tim McCormack
Modified: 2013-06-15 19:45 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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