Bug 121804 - Image overwritten with blank file when importing into same folder
Summary: Image overwritten with blank file when importing into same folder
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Albums-MainView (show other bugs)
Version: 0.8.1
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-12 00:26 UTC by Graham Smith
Modified: 2012-06-27 11:14 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 1.0.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Graham Smith 2006-02-12 00:26:58 UTC
Version:           0.8.1 (using KDE KDE 3.5.1)
Installed from:    Debian testing/unstable Packages
OS:                Linux

I dragged and dropped an image into a folder / album in konqueror expecting it to appear in the album in digicam which is does normally (about 90% of the time this works). Occasionally, like this time it didn't magically appear in the album view in digikam. Normally I would move the image to another folder (using konqueror) and drop it back into the album folder. Digikam always picks it up the second time (I presume this is a problem with notifications). Anyway, thinking that all this moving about was a pain I decided to import the image into the folder it was already in rather than move it out and back in again. Rather than simply importing the image a blank file was written and the image was lost!

These instructions should probably reproduce the problem:
1)Drag and drop an image into a folder that is digicam thinks is an album until the image doesn't magically appear.
2)Right click on the album and select import > add images.
3)Import the image that is already actually in the folder on the disk.
4)A confusing replace the left image with the right image dialog pops up. The image on the right is the image on disk the left window mentions something about the image not existing.
5)Press ok.
4)The image on the disk is replaced with an empty file.

This problem might also occur if you try and import an image that digikam already knows about into the album it's already in.

I suspect that this might actually be a problem with KDE copy utility but I discovered it in digikam. Either way this is a problem that can easily result in data loss.
Comment 1 caulier.gilles 2007-12-04 07:55:24 UTC
Graham,

Is this problem still reproductible with last release of digiKam (0.9.2) and KDE3.5.x ?

Gilles
Comment 2 caulier.gilles 2008-12-04 15:40:10 UTC
Graham, 

What's news about this file ? Can you test using 0.9.4 release ? This still valid ?

Thanks in advance

Gilles Caulier
Comment 3 Graham Smith 2008-12-04 15:53:54 UTC
I no longer have a Linux box to test this on. I hope to have one in the near future and I will try this bug out then.
Comment 4 Andi Clemens 2009-02-12 19:24:05 UTC
I would say that the issue is gone finally in 0.10 due to the changes Marcel did some days ago. All in all this bugreport is for 0.8.1, maybe we should just close it?
If really needed, it can be re-opened again.

Andi
Comment 5 Nicolas L. 2009-07-21 00:15:39 UTC
as explained this bug should be fixed.

Please reopen if you encounter the issue again in the future