Bug 461221

Summary: If Title and Description text is the same, only write one of these two to Google Caption Field to avoid duplication.
Product: [Applications] digikam Reporter: José Oliver-Didier <jose_oliver>
Component: Plugin-WebService-GoogleAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version First Reported In: 7.9.0   
Target Milestone: ---   
Platform: Other   
OS: Other   
Latest Commit: Version Fixed/Implemented In: 7.9.0
Sentry Crash Report:

Description José Oliver-Didier 2022-10-30 20:52:31 UTC
SUMMARY
***
If Title and Description text is the same, only write one of these two to Google Caption Field to avoid duplication. 
***


STEPS TO REPRODUCE
1. Select a photo which has the same text in Title and Description, say "The quick brown fox jumped over the lazy dog."
2. Export to Google Photos
3. Open image info in Google Photos for the exported image.

OBSERVED RESULT
- In the caption field, the string appears twice: 
"The quick brown fox jumped over the lazy dog.   The quick brown fox jumped over the lazy dog."

EXPECTED RESULT
- Google caption field: "The quick brown fox jumped over the lazy dog."

SOFTWARE/OS VERSIONS
Windows 11

ADDITIONAL INFORMATION
- Some applications only provide for a single image caption field as Google Photos, OneDrive, ect. As such, applications such as Digikam which support Title / Description fields may need to combine the two (a wise course of action) instead of having to pick between one and deleting the other (data loss). In this case in which it merges the two into a single field.
Comment 1 Maik Qualmann 2022-10-30 21:11:47 UTC
Git commit 310fceb8d888bcccad78f6cbe3ec1964cd8d6c3e by Maik Qualmann.
Committed on 30/10/2022 at 21:11.
Pushed by mqualmann into branch 'qt5-maintenance'.

fix duplicate the description in Google Photo
FIXED-IN: 7.9.0

M  +2    -1    NEWS
M  +7    -1    core/dplugins/generic/webservices/google/gswindow.cpp

https://invent.kde.org/graphics/digikam/commit/310fceb8d888bcccad78f6cbe3ec1964cd8d6c3e