Bug 468845

Summary: When exporting a selection to local storage and Adjust image properties, images with sidecars are copied without their sidecars
Product: [Applications] digikam Reporter: Mike <ozczecho>
Component: Plugin-WebService-FileCopyAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: caulier.gilles, metzpinguin
Priority: NOR    
Version First Reported In: 8.0.0   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed/Implemented In: 8.1.0
Sentry Crash Report:

Description Mike 2023-04-23 03:43:26 UTC
SUMMARY
***
Follow on from https://bugs.kde.org/show_bug.cgi?id=463528

Does the option to include sidecar files only work when "Adjust Image properties" is NOT selected? 


STEPS TO REPRODUCE
1.Make a selection containing items with sidecars
2.Export > Export to local storage...
3.Check "Include the Sidecars of the items"
4.Check "Adjust Image Properties"
5."Start Export"

OBSERVED RESULT
Sidecar files are nowhere to be found in the export. But if I do NOT check the  "Adjust Image Properties" then the sidecar files are found and copied with the selected image

EXPECTED RESULT
Sidecar to be found in the export.




SOFTWARE/OS VERSIONS
Windows: 10
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION

My image files are named using the following naming pattern:
* 2023 -CBD - New Gallery.png
* 2023 -CBD - New Gallery.png.xmp

I am wanting to export the *.png files for viewing. They dont need to be the original size so I am trying to export them to be 1600px. It would be great if the sidecar file was included when exporting with the "Adjust Image Properties" checked.
Comment 1 Maik Qualmann 2023-04-23 05:06:41 UTC
Correct and intentional. We create a new JPG or PNG file, in this case the metadata is written into the image and no sidecar is created.

Maik
Comment 2 Maik Qualmann 2023-04-23 06:25:26 UTC
Git commit f9540baf2695dc57dcd2935fcd69b0bf305ae574 by Maik Qualmann.
Committed on 23/04/2023 at 06:24.
Pushed by mqualmann into branch 'master'.

use sidecar system settings when creating new images in file copy tool
FIXED-IN: 8.1.0

M  +1    -1    NEWS
M  +13   -7    core/dplugins/generic/webservices/filecopy/fctask.cpp

https://invent.kde.org/graphics/digikam/commit/f9540baf2695dc57dcd2935fcd69b0bf305ae574
Comment 3 Maik Qualmann 2023-04-23 06:29:07 UTC
Note that it is not the original sidecar if a new image is created in the file copy tool. However, it contains all metadata like the original.

Maik