Bug 368796 - Problem with Exif-tags: ImageDescription and UserComment
Summary: Problem with Exif-tags: ImageDescription and UserComment
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-Generic-MetadataEdit (show other bugs)
Version: 5.9.0
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-14 10:17 UTC by herb
Modified: 2018-04-19 13:23 UTC (History)
5 users (show)

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


Attachments
US version (42.01 KB, image/jpeg)
2018-04-06 22:57 UTC, Ferry
Details
DE version (52.42 KB, image/jpeg)
2018-04-06 22:58 UTC, Ferry
Details

Note You need to log in before you can comment on or make changes to this bug.
Description herb 2016-09-14 10:17:00 UTC
Hello,

I work with digikam 5.1.0, which has Exiv2 0.25, on a Windows XP 32-bit system.

The tag-content of exif tag "UserComment" is always taken to exif tag "ImageDescription".

Reproducible: Always

Steps to Reproduce:
1. Select a thumbnail for editing metadata.
2. Select Menu: Item-> Edit Metadata
3. In panel opened select tab Edit Exif -> Caption Information

This panel has input fields called: Description and Caption
When I enter a value to Caption and press button Apply then both fields Description and Caption have this identical value.
Existing value of Description will be overwritten.
When I enter a value to caption, another value to Description and press Apply, the value of Description is not taken into account.

It is not possible to enter different values to these tags. Always the value of Caption is taken.
In case of Caption contains Unicode-characters (non Ascii-characters) the characters are written into Description, which should contain only Ascii-characters. The Unicode-characters are displayed as character ?.

Actual Results:  
In main-window of digikam (on the right side) with Metadata -> Exif the newly entered values are displayed as ImageDescription and as UserComment, which are their Exif-tagnames.

Expected Results:  
It should be possible to enter different values to these 2 tags 
and "Caption" should be called "UserComment".
In German translation "Beschriftung" (for Caption) should be called "Benutzerkommentar". 

Thanks and
Best regards
Herb
Comment 1 caulier.gilles 2016-11-28 11:41:19 UTC
Can you reproduce the problem using digiKam Linux AppImage bundle ? The last
bundle is available at this url:

https://drive.google.com/drive/folders/0BzeiVr-byqt5Y0tIRWVWelRJenM

Gilles Caulier
Comment 2 herb 2016-11-28 14:23:12 UTC
Hello,

I regret I have no Linux/Unix system to test.
As I wrote I am working on Windows.

Best regards
Herb
Comment 3 caulier.gilles 2016-11-28 14:37:02 UTC
The bundle is also available for windows as installer
Comment 4 herb 2016-11-29 11:47:31 UTC
Hello,

I retested the described behaviour on a Win7 x64 system.
The behaviour has not changed in Digikam/Showfoto version 5.4.0-01.

Sorry that I have no better news.

Best regards
Herb
Comment 5 hardy.public 2017-12-14 15:15:17 UTC
This "problem" still exists on both Linux and Windows 64 bit using 12-Dec build of 5.8.0. It's impossible to separate EXIF Caption and Description fields. When one is edited and applied, the other is updated with the same data.

However, I like this behaviour, accidental or otherwise. I only want to type once and have both fields updated with the same data due to different tools displaying one or the other. In other words, it saves me a copy and paste action. It would be a problem however if I wanted different text in these fields.
Comment 6 Ferry 2018-04-06 07:34:58 UTC
Capion input is not possible with digikam 5.9; I can tag only (German version 5.9). If I fill in caption by Picasa, it is shown in Exif-data with digikam as well.
Comment 7 hardy.public 2018-04-06 07:54:12 UTC
(In reply to Ferry from comment #6)
> Capion input is not possible with digikam 5.9; I can tag only (German
> version 5.9). If I fill in caption by Picasa, it is shown in Exif-data with
> digikam as well.

Strange, I see no problem in EN or DE Windows 64bit 5.9.0. Do you mean you cannot type in the box after activating Caption?
Comment 8 Ferry 2018-04-06 18:16:37 UTC
(In reply to hardy.public from comment #7)
> (In reply to Ferry from comment #6)
> > Capion input is not possible with digikam 5.9; I can tag only (German
> > version 5.9). If I fill in caption by Picasa, it is shown in Exif-data with
> > digikam as well.
> 
> Strange, I see no problem in EN or DE Windows 64bit 5.9.0. Do you mean you
> cannot type in the box after activating Caption?

I can not find any posibility to enter captions, neither in the menues nor in the manual. In the container "Captions / Beschriftungen" I can only find stars, flags and color pads. There is no entry for captions as text.
Comment 9 caulier.gilles 2018-04-06 18:22:44 UTC
Really... Can you take a screenshot to see exactly where is the problem ?
Comment 10 Maik Qualmann 2018-04-06 19:34:21 UTC
Git commit 31abeb50bb0e0f76cee70907388d33baca4b793a by Maik Qualmann.
Committed on 06/04/2018 at 19:32.
Pushed by mqualmann into branch 'master'.

now is possible to set different entries for description and comment
FIXED-IN: 6.0.0

M  +2    -1    NEWS
M  +4    -2    core/libs/dmetadata/metaengine_exif.cpp

https://commits.kde.org/digikam/31abeb50bb0e0f76cee70907388d33baca4b793a
Comment 11 Maik Qualmann 2018-04-06 19:41:03 UTC
Note: If only one field is filled in the same way as before, the other one will be provided with the same content. But now different content can be set.

Maik
Comment 12 Ferry 2018-04-06 22:57:34 UTC
Created attachment 111876 [details]
US version
Comment 13 Ferry 2018-04-06 22:58:48 UTC
Created attachment 111877 [details]
DE version
Comment 14 Ferry 2018-04-06 23:06:39 UTC
(In reply to caulier.gilles from comment #9)
> Really... Can you take a screenshot to see exactly where is the problem ?

I found the problem: There are inproper namings in the German version. In the US version are used 'Labels' and 'Captions'. The German version uses in both cases 'Beschriftungen' which is confusing. 
I suggest to use the following wordings:
US = 'Label'; DE = 'Markierung' or 'Kennzeichen'
US = 'Captions'; DE = 'Bildunterschrift'
Comment 15 caulier.gilles 2018-04-07 04:26:48 UTC
For this kind of changes, this delegate to German translators. We provide the Application source code in english and translators use a workflow to extarct and translate strings in native language.

Report this problem to German team. Look here :

https://l10n.kde.org/

Gilles Caulier
Comment 16 meku 2018-04-19 13:23:04 UTC
Settings>Metadata>Advanced is a flexible way to control which namespaces are read and updated by the Caption(Comment). 

I wonder if a solution to this issue is to add settings here for controlling the namespaces for the 'Title' field, then the end user could control the result and is not reliant on changes to the software.