Bug 412999

Summary: Some photos downloaded in previous version of digikam no more recognized as already downloaded
Product: [Applications] digikam Reporter: Nicofo <nicofo>
Component: Import-HistoryAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: caulier.gilles, metzpinguin
Priority: NOR    
Version: 6.3.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In: 7.0.0

Description Nicofo 2019-10-15 19:56:27 UTC
SUMMARY
With Digikam 6.3, import pictures.
Observation: some pictures already imported with previous version of digikam (e.g. 6.1 or older) are not recognized as already downloaded.

Note: the opposite is also true: import pictures with Digikam 6.3.
In Digikam 6.1, import pictures: observe that some pictures imported with 6.3 are not recognized as already downloaded.

If I again import an already unrecognized imported picture, I see in the digikam4.db (DownloadHistory table) that the filedate is not the same for both imports.

My guess: with Digikam 6.1 and older, EXIF date was used while with 6.3 filedate is used to store the date in db. As a result, loss of compatibility between 6.1 and 6.3. (I have not tested 6.2)
Comment 1 Maik Qualmann 2019-10-15 20:28:45 UTC
The date format has not changed between the digiKam versions. However, if you have used or did not use metadata in the camera settings, a different date may be created. We can not do anything about that.

Maik
Comment 2 Maik Qualmann 2019-10-15 20:31:11 UTC

*** This bug has been marked as a duplicate of bug 319001 ***
Comment 3 Nicofo 2019-10-15 20:46:00 UTC
Hum, indeed, if I play with the setting "Use file metadata (makes connection slower)" in Settings > Camera > Behavior, I have no recognition problem anymore.

Something has changed between 6.1 and 6.3 regarding this setting.
Comment 4 caulier.gilles 2019-12-23 15:37:40 UTC
Thanks for the feedback. I close this file now.

Gilles Caulier