Bug 490385

Summary: Remove All Metadata for File Export does not work when sidecar files are used
Product: [Applications] digikam Reporter: rickey
Component: Plugin-WebService-FileCopyAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: caulier.gilles
Priority: NOR    
Version First Reported In: 8.4.0   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed/Implemented In: 8.5.0
Sentry Crash Report:

Description rickey 2024-07-17 05:54:46 UTC
SUMMARY
Metadata is included for photos exported from DigiKam even when "Remove All Metadata" is selected. The problem appears to be associated with metadata management option "Write sidecar to files". 

Please see video https://youtu.be/4isUkDGVEgs

STEPS TO REPRODUCE
In Settings, ensure "Write sidecar to files" is checked. 
1.  Select image to export to local storage
2.  Check "Remove All Metadata"
3.  Proceed with export

OBSERVED RESULT
Metadata not removed, and sidecar files are copied to export directory

EXPECTED RESULT
No metadata should be in the final JPEG.
This result happens when the "Write sidecar to files" is NOT checked in the digiKam settings. 

SOFTWARE/OS VERSIONS
OS Name:                   Microsoft Windows 11 Pro
OS Version:                10.0.22631 N/A Build 22631
Comment 1 caulier.gilles 2024-07-17 06:02:11 UTC
Did you use Exiv2 or the Exiftool metadata backend ? Take a look in Settings/Metadadta config pannel from digiKam.

Gilles Caulier
Comment 2 Maik Qualmann 2024-07-17 06:47:11 UTC
Git commit 67693c83e16ee7ec5d28bd5cee1909623ae6c726 by Maik Qualmann.
Committed on 17/07/2024 at 06:46.
Pushed by mqualmann into branch 'master'.

fix possible sidecar file in the Local Export Tool
FIXED-IN: 8.5.0

M  +1    -1    NEWS
M  +8    -10   core/dplugins/generic/webservices/filecopy/fctask.cpp

https://invent.kde.org/graphics/digikam/-/commit/67693c83e16ee7ec5d28bd5cee1909623ae6c726
Comment 3 Maik Qualmann 2024-07-17 10:30:14 UTC
Git commit 84128f4c8ff4bac95f74528d15ab83f2d6e83f56 by Maik Qualmann.
Committed on 17/07/2024 at 10:29.
Pushed by mqualmann into branch 'master'.

make sidecars possible if no metadata is removed

M  +13   -8    core/dplugins/generic/webservices/filecopy/fctask.cpp

https://invent.kde.org/graphics/digikam/-/commit/84128f4c8ff4bac95f74528d15ab83f2d6e83f56