Bug 465904 - "title" not imported, "legend" imported in "others" instead of "description"
Summary: "title" not imported, "legend" imported in "others" instead of "description"
Status: REPORTED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-WebService-Google (show other bugs)
Version: 7.9.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-17 09:00 UTC by Philippe ROUBACH
Modified: 2023-10-27 11:13 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philippe ROUBACH 2023-02-17 09:00:39 UTC
STEPS TO REPRODUCE
1. use the Google photo import tool (not the digikam export tool)
2. import a photo with a “title” and a “legend”
3. 

OBSERVED RESULT

Only “Legend” is imported and in “Others” instead of “Description”.
In the past, the twos were imported in “Description”.

EXPECTED RESULT

The twos are imported in “Description”.

Operating System: openSUSE Tumbleweed 20230215
KDE Plasma Version: 5.27.0
KDE Frameworks Version: 5.103.0
KDE Gears 22.12.2
Qt Version: 5.15.8
Comment 1 Maik Qualmann 2023-02-17 09:06:40 UTC
To understand, you use the digiKam Google Photo import tool?
What is your “Others” in digiKam? If downloading from Google servers, please provide a sample image.

Maik
Comment 2 Maik Qualmann 2023-02-17 09:11:43 UTC
If "Title" is not imported, you may just need to adjust the advanced metadata in the digiKam setup accordingly.

Maik
Comment 3 caulier.gilles 2023-02-17 09:15:56 UTC
Just for info, the Google export tool documentation is online :

https://docs.digikam.org/en/export_tools/google_export.html

Questions:

- there are limitation to export files in Google account. Can you remember me this point for annotation in manual ?
- the purpose of Google Photo upload ID to store in XMP metadata from original file is to be able to identify which files have been already uploaded. Right ?

Gilles
Comment 4 Philippe ROUBACH 2023-02-17 10:49:21 UTC
(In reply to Maik Qualmann from comment #1)
> To understand, you use the digiKam Google Photo import tool?
> What is your “Others” in digiKam? If downloading from Google servers, please
> provide a sample image.
> 
> Maik

I export photos from PC to Google Photo.
I use Google tool for import photos. The album is locked, then I can't use Digikam export tool.
“Description” and “Others” are Google Photo categories.

I previously filled “title” and “legend” in photos with Digikam.
Comment 5 Maik Qualmann 2023-02-17 12:10:16 UTC
(In reply to Philippe ROUBACH from comment #4)
> I export photos from PC to Google Photo.
With which program? Via web interface or digiKam?
> I use Google tool for import photos. The album is locked, then I can't use
> Digikam export tool.
Via web interface?

A test here using digiKam for export and import shows no problem. Provided the digiKam "Title" and "Description" were present in the metadata.
Viewed in the web interface you see a image title that is composed of the digiKam title and description. I see the digiKam description under "Other".

Maik
Comment 6 Philippe ROUBACH 2023-02-17 12:18:37 UTC
(In reply to Maik Qualmann from comment #5)
> (In reply to Philippe ROUBACH from comment #4)
> > I export photos from PC to Google Photo.
> With which program? Via web interface or digiKam?

the web interface

> > I use Google tool for import photos. The album is locked, then I can't use
> > Digikam export tool.
> Via web interface?
> 

yes

> A test here using digiKam for export and import shows no problem. Provided
> the digiKam "Title" and "Description" were present in the metadata.
> Viewed in the web interface you see a image title that is composed of the
> digiKam title and description. I see the digiKam description under "Other".
> 

it's not the problem. I don't use digikam to export to google Photo.
Comment 7 Maik Qualmann 2023-02-17 13:10:16 UTC
What you write/change in Google Photo in the upper field under Info as a title or description is not written to the metadata by Google when downloading.
This information will be lost, digiKam cannot import anything here. You must submit a bug wish to Google to have this information written to the metadata when the image is downloaded.

Maik
Comment 8 Philippe ROUBACH 2023-02-17 13:43:46 UTC
Is there a way to unlock an album ?
Comment 9 Maik Qualmann 2023-02-17 15:02:34 UTC
No, there is no way to do this. Google doesn't want to implement it. For Google, Photo is just storage for cell phone photos, each app is only allowed to access the albums it created.

Maik
Comment 10 Philippe ROUBACH 2023-02-17 15:08:10 UTC
so we must delete itand create it again.
Comment 11 caulier.gilles 2023-10-11 05:32:46 UTC
Philippe,

Any feedback here ?

Gilles caulier
Comment 12 Philippe ROUBACH 2023-10-27 08:51:29 UTC
When exporting with digikam a photo, there is no problem.

When importing with Google photo import tool a photo, the problem is still there : the title is not imported and the legend is imported in "others" field.

Then 2 hypothesis :
- digikam stores the title and the legend in wrong fields in the photo file or with wrong name (dikikam does not follow the standard).
- Google photo import tool does follow the standard.
No ?
Comment 13 Maik Qualmann 2023-10-27 09:27:32 UTC
Google doesn't know a title when uploading, only a description, which is why we mix the two when uploading.
That's exactly how it looks when downloading. Remember, Google Photo is only suitable for showing images on the web, not as a backup solution. Google recompresses uploaded images and changes or removes metadata (GPS).

Maik
Comment 14 caulier.gilles 2023-10-27 11:13:25 UTC
Git commit a8d7f1b710f267220d58d60ae0aeb0f715c017e3 by Gilles Caulier.
Committed on 27/10/2023 at 13:12.
Pushed by cgilles into branch 'master'.

Online doc: add warning about Google Photo uploading limitaion (recompress + drop metadata)

M  +4    -0    export_tools/google_export.rst

https://invent.kde.org/documentation/digikam-doc/-/commit/a8d7f1b710f267220d58d60ae0aeb0f715c017e3