XMP metadata in PNG/JPEG appear with Language Alternative selector attribute prefix
Steps to reproduce
- Unzip the attached image (zipped to prevent GitLab from stripping away the embedded metadata)
- Select it in Nautilus, and open Properties
- Switch to the Image tab
Reproducible in:
- GNOME 3.32.1
Current behavior
Title is shown as “lang="x-default" Actual Title”.
Expected behavior
Title should be shown as “Actual Title”.
Additional information
The extra lang attribute is included by default by Windows, Photoshop, GIMP, exiftool, and other XMP editors. It’s defined in the XMP Specification Part 1 section 8.2.2.4 Language Alternative.
GNOME Image Viewer (EoG) handles the image just fine.