Bug 381214 - Import may mix up picture content and metadata of different pictures
Summary: Import may mix up picture content and metadata of different pictures
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Import-MainView (show other bugs)
Version: 5.5.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-06-14 21:10 UTC by b3nmore
Modified: 2022-06-15 17:13 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 8.0.0
Sentry Crash Report:


Attachments
Screenshots inconsistent import. (286.73 KB, image/png)
2017-06-14 21:10 UTC, b3nmore
Details

Note You need to log in before you can comment on or make changes to this bug.
Description b3nmore 2017-06-14 21:10:34 UTC
Created attachment 106101 [details]
Screenshots inconsistent import.

I recently imported pictures from a Sony R100 M3 (which is recognized as a generic usb mass storage device). Some pictures are saved with the wrong picture contents. That means the meta data does not fit to the actual picture, since the picture contents belongs to another picture. For a better explanation, please have a look at the attached screenshot. It shows the import window with the correct picture content, filename and metadata. The lower part shows the main window where the filename and the metadata is copied correctly, but now belong to another picture content (actually to a picture which was recorded several days later).

I've checked the copied picture with other programs and they show that it is indeed a mixture of the file name and metadata of one picture and the content of another one (so not a database or thumbnail issue).
Comment 1 caulier.gilles 2020-08-02 12:56:50 UTC
digiKam 7.0.0 stable release is now published:

https://www.digikam.org/news/2020-07-19-7.0.0_release_announcement/

We need a fresh feedback on this file using this version.

Best Regards

Gilles Caulier
Comment 2 caulier.gilles 2022-01-10 11:42:17 UTC
Maik,

I never seen this issue before...

Gilles
Comment 3 Maik Qualmann 2022-06-15 17:13:09 UTC
Git commit eeb5ba940b0b7e523200e791b9f98623ab75b65b by Maik Qualmann.
Committed on 15/06/2022 at 17:12.
Pushed by mqualmann into branch 'master'.

fix read creation date from imported items from Import Tool
- Metadata for renaming will only be read after saving in the album
- Correct creation of date based albums.
- Add metadata and camera renaming options in the Import Tool.
- Removed live renaming preview in import view,
  preview for selected item only.
Related: bug 452088, bug 444928, bug 386072, bug 455091
FIXED-IN: 8.0.0

M  +5    -1    NEWS
M  +9    -1    core/utilities/advancedrename/advancedrenamemanager.cpp
M  +1    -0    core/utilities/advancedrename/advancedrenamemanager.h
M  +2    -0    core/utilities/advancedrename/common/parsesettings.h
M  +1    -3    core/utilities/advancedrename/parser/importrenameparser.cpp
M  +4    -1    core/utilities/advancedrename/parser/options/filepropertiesoption.cpp
M  +129  -201  core/utilities/import/backend/cameracontroller.cpp
M  +1    -18   core/utilities/import/backend/cameracontroller.h
M  +1    -1    core/utilities/import/backend/camiteminfo.h
M  +1    -1    core/utilities/import/items/importdelegate.cpp
M  +339  -267  core/utilities/import/main/importui.cpp
M  +9    -10   core/utilities/import/main/importui.h
M  +7    -1    core/utilities/import/main/importui_p.h
M  +8    -28   core/utilities/import/widgets/renamecustomizer.cpp
M  +2    -1    core/utilities/import/widgets/renamecustomizer.h

https://invent.kde.org/graphics/digikam/commit/eeb5ba940b0b7e523200e791b9f98623ab75b65b