Bug 381380

Summary: Item Edit / Metadata doesn't work
Product: [Applications] digikam Reporter: philippe weyland <philippe.weyland>
Component: Plugin-Generic-MetadataEditAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: caulier.gilles, metzpinguin
Priority: NOR    
Version: 5.6.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 5.7.0
Attachments: Digikam Item Edit Metadata issue

Description philippe weyland 2017-06-18 20:30:43 UTC
Created attachment 106160 [details]
Digikam Item Edit Metadata issue

1. doesn't display the current image metadata (as shown on attached snapshot)
2. doesn't let save any of them on Apply (both IPTC and XMP)

same behaviour as for 5.5, same on Windows 10
Comment 1 Maik Qualmann 2017-06-20 18:56:32 UTC
Your screenshot shows IPTC metadata tab, no entries here. What is with XMP?

Maik
Comment 2 philippe weyland 2017-06-20 20:55:14 UTC
The screenshot shows the Edit IPTC metadata tab on the left and the image information tab the right. 
1. these are the same information (location) but I don't see the information on IPTC tab. Effectively the Edit IPTC stays empty.
2. If I make any change in the Edit IPTC tab, and Apply, my entries are always lost. If I enter information in the Edit XMP tab I have the behaviour. Everything is always lost.
Comment 3 Maik Qualmann 2017-06-21 18:25:27 UTC
The information in the right sidebar comes from the database. The information is only updated when the metadata is re-read (from the menu entry) or automatically when the re-reading for modified images is activated in the settings. The metadata editor only writes the information to the images. The metadata information to be searched when reading image to the database (XMP -> IPTC -> EXIF) can be defined in the extended metadata settings in the setup. It works here without problems.

Maik
Comment 4 philippe weyland 2017-06-21 19:56:53 UTC
Thanks for comments Maik.
If I understand properly the Item / Edit Metadata are data embedded in files. Are they stored in database too ?
I understand also there is no synchronization between metadata window and Information sidebar. 
As I've no metadata in files, these metadata are then empty. I get this.

But why when I enter a value in whatever field (like country or city), click on Apply, the value disappears immediately ? I haven't any chance to save the data into file...