Bug 461221 - If Title and Description text is the same, only write one of these two to Google Caption Field to avoid duplication.
Summary: If Title and Description text is the same, only write one of these two to Goo...
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-WebService-Google (other bugs)
Version First Reported In: 7.9.0
Platform: Other Other
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-30 20:52 UTC by José Oliver-Didier
Modified: 2022-10-30 21:11 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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