[Digikam-devel] [Bug 121804] New: Image overwritten with blank file when importing into same folder

Graham Smith graham at crazysquirrel.com
Sat Feb 11 23:27:00 GMT 2006


------- 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=121804         
           Summary: Image overwritten with blank file when importing into
                    same folder
           Product: digikam
           Version: 0.8.1
          Platform: Debian testing
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: digikam-devel kde org
        ReportedBy: graham crazysquirrel com


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.



More information about the Digikam-devel mailing list