Bug 407440

Summary: after export to google photo, metadata are written to sidecar files (and perhaps to picture file too)
Product: [Applications] digikam Reporter: Nicolas.HOUDELOT <nicolas.houdelot>
Component: Plugin-WebService-GoogleAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: metzpinguin
Priority: NOR    
Version First Reported In: 6.1.0   
Target Milestone: ---   
Platform: Appimage   
OS: Linux   
Latest Commit: Version Fixed In: 6.2.0
Sentry Crash Report:

Description Nicolas.HOUDELOT 2019-05-12 00:31:28 UTC
SUMMARY

after export to google photo
it seems that metadata are written again, with presumably no change.
(i didn't see any)
you can see it by activate "write to sidecar files only"


STEPS TO REPRODUCE
1. in configure digikam -> metadata -> activate :
* read from sidecar file
* write to sidecar file
* and write to sidecar files only
2. copy some pictures to export, in a directory
there should be no sidecar files
3. export picture to google photo

OBSERVED RESULT

when all the picture are sent
metadata are written, and so.. xmp files appears.

EXPECTED RESULT

i guess this should not happen
except if there should be a medata that tell  that this picture has been sent to google photo.. (like in picasa i guess)

SOFTWARE/OS VERSIONS
Linux Mint 19.1, using digikam appimaga 6.1.0


ADDITIONAL INFORMATION
Comment 1 Maik Qualmann 2019-05-12 13:49:04 UTC
We write the XMP metadata tag "Xmp.digiKam.picasawebGPhotoId" in the image. I can not find the Bugreport at the moment, but the desire was probably to label uploaded images with the Photo ID. But I also think it should be optional.

Maik
Comment 2 Maik Qualmann 2019-05-12 15:43:11 UTC
Git commit c2a2cb9280e3ac815b6fc99a339607430d4f8ed7 by Maik Qualmann.
Committed on 12/05/2019 at 15:42.
Pushed by mqualmann into branch 'master'.

write photo ID optional to the source image
FIXED-IN: 6.2.0

M  +2    -1    NEWS
M  +1    -0    core/dplugins/generic/webservices/google/gswidget.cpp
M  +17   -14   core/dplugins/generic/webservices/google/gswindow.cpp
M  +28   -8    core/libs/dplugins/webservices/wssettingswidget.cpp
M  +1    -0    core/libs/dplugins/webservices/wssettingswidget.h

https://invent.kde.org/kde/digikam/commit/c2a2cb9280e3ac815b6fc99a339607430d4f8ed7