[Digikam-devel] [Bug 158377] digikam duplicates downloaded images while overwriting existing ones
David Fraser
davidf at sjsoft.com
Mon Mar 3 15:59:16 GMT 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=158377
------- Additional Comments From davidf sjsoft com 2008-03-03 16:59 -------
Tested and it at least works... I would recommend that this be used as a band-aid patch though.
The problem with the current system is that if the final rename fails, the picture has not been copied correctly, but there is no good way to recover this.
It seems that the rename was moved into the event handling section so that there could be GUI interaction to change the name.
Things that would improve this:
* If the rename fails, a dialog should be created just like if the copy fails.(It is not expected to fail because the target file is checked, but as this error shows it can fail in other ways)
* If the rename fails, then using "Download/Delete" should NOT delete images that weren't copied successfully... so the deleteAfter in slotDownload should ignore failed images
* There should be options to "Select Failed" images and to "Delete successfully copied images"
* There should be at least a sanity check when deleting to ensure that the target deleted image is the same file size etc as the source image, and big error dialogs should pop up if this is not the case :-)
More information about the Digikam-devel
mailing list