[Digikam-devel] [Bug 121460] New: Album date average incorrect

Luc Sierens luc at sierens.com
Mon Feb 6 10:17:51 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=121460         
           Summary: Album date average incorrect
           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: luc sierens com


Version:           0.8.1 (using KDE KDE 3.5.0)
Installed from:    Debian testing/unstable Packages
OS:                Linux

In some cases the album date, as calculated by the [Average] button in the Album Properties dialogue, seems to be off by a substantial amount. 

As an example, I have an album with 6 images, all dated 2001-02-04 (both file date and exif date). The album date given by Digikam is 2005-03-28 (why?). When I use the [Average] button, the date I obtain is 2002-03-25!

I did some experiments to clarify this bug, and I suspect that it may have something to do with old entries (of removed images) remaining in the database.

 1. I copy the said 6 images to a new album : the new album date gives the correct average of 2001-02-04
 2. I add 1 image dated 2006-01-15 : now I get an average album date of 2001-10-20
 3. I delete the first 6  images : I still get 2001-10-20
 4. When I quit and restart Digikam, I get the warning that the datbase contains 6 images which are not on the disc. I let them be removed, and now I get the correct average date of 2006-01-15.

Of course this does not explain the wrong date of 2002-03-25 in the original album, but perhaps there is something similar happening there?



More information about the Digikam-devel mailing list