Bug 405904 - The saved version of the image is not linked to the original.
Summary: The saved version of the image is not linked to the original.
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Database-Versioning (other bugs)
Version First Reported In: 6.1.0
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-26 16:27 UTC by Ivan
Modified: 2022-02-02 05:06 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 6.1.0
Sentry Crash Report:


Attachments
Photo image from GT-I9100 Samsung Galaxy S2 (3.46 MB, image/jpeg)
2019-03-26 16:27 UTC, Ivan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan 2019-03-26 16:27:40 UTC
Created attachment 119060 [details]
Photo image from GT-I9100 Samsung Galaxy S2

SUMMARY
There is an image from samsung phone in the digiKam collection.

STEPS TO REPRODUCE
1. Edit image
2. Save.

OBSERVED RESULT
SEE that the original file and version are just different images. But the version has a suffix _v1 and a history of changes in the verisoning panel.


EXPECTED RESULT
The original image and versions are linked in the right panel.


SOFTWARE/OS VERSIONS
Ubuntu 18.04LTS

ADDITIONAL INFORMATION
This effect is observed by me only on images received on the Samsung Galaxy phones (galaxy s2, s7egge, s8plus). The rest of the images work well.
Comment 1 Maik Qualmann 2019-03-26 16:37:51 UTC
This issue with the image UUID is fixed in current digikam versions. All Samsung images from a camera have the same UUID. The bug report belongs to Samsung. Which version of digiKam do you use?

Maik
Comment 2 Ivan 2019-03-26 16:51:54 UTC
I tried version 5.9 and 6.0, all the same.
Comment 3 caulier.gilles 2019-03-26 17:40:17 UTC
Please try with the 6.1.0 pre-version Linux AppImage bundle available here :

https://files.kde.org/digikam/

Gilles Caulier
Comment 4 Maik Qualmann 2019-03-26 18:13:41 UTC
Ok, now with a test of the image I understand.

Maik
Comment 5 Maik Qualmann 2019-03-26 18:46:33 UTC
Git commit 7efc468a60a52ccb5b4be42038a7a33d84334acd by Maik Qualmann.
Committed on 26/03/2019 at 18:45.
Pushed by mqualmann into branch 'master'.

ignore Samsung UUID and trashed or deleted images in SQL queries
FIXED-IN: 6.1.0

M  +2    -1    NEWS
M  +10   -10   core/libs/database/coredb/coredb.cpp
M  +2    -11   core/libs/metadataengine/dmetadata/dmetadata_history.cpp

https://commits.kde.org/digikam/7efc468a60a52ccb5b4be42038a7a33d84334acd
Comment 6 Ivan 2019-03-27 04:57:54 UTC
I tried 6.1.0, all the same.
Comment 7 Maik Qualmann 2019-03-27 05:58:58 UTC
Note: If you try a digiKam version that contains this patch, it will especially help for newly added images. For older images, first perform a re-read of the metadata, then newly edited images will be linked again.

Maik