Bug 420430 - Inconsistent behavior of View tab of Metadata dialog in digiKam Configure menu
Summary: Inconsistent behavior of View tab of Metadata dialog in digiKam Configure menu
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Setup-Metadata (show other bugs)
Version: 7.0.0
Platform: Debian stable Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-22 19:33 UTC by Ioannis
Modified: 2020-08-16 13:56 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 7.0.0


Attachments
IPTC Viewer (182.18 KB, image/jpeg)
2020-08-13 15:08 UTC, harald.aust
Details
Makernotes Viewer (157.24 KB, image/jpeg)
2020-08-13 15:11 UTC, harald.aust
Details
IPTC display 1 (23.17 KB, image/jpeg)
2020-08-16 13:07 UTC, harald.aust
Details
IPTC display 2 (20.27 KB, image/jpeg)
2020-08-16 13:07 UTC, harald.aust
Details
IPTC display 3 (25.22 KB, image/jpeg)
2020-08-16 13:07 UTC, harald.aust
Details
Creation Date (86.52 KB, image/jpeg)
2020-08-16 13:47 UTC, harald.aust
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ioannis 2020-04-22 19:33:39 UTC
SUMMARY
Problem in using the View option for Metadata: Besides the desired items selected by the user, additional items preceding the first selected item appear in the filtered view list.

STEPS TO REPRODUCE
1. Click Metadata tab of the right sidebar
2. Click EXIF subtab
3. Click the filter icon
4. Click on Settings
5. In the {Embedded Image Information Management} window that opens choose the {View} tab and then the EXIF Viewer subtab
6. Deactivate all the check boxes by clicking on the Clear button.
7. Scroll down the list to the [Photograph Information] section and tick only the {ComponentsConfiguration} check box
8. Fimally click the {OK} button (the window closes)
9. In the right sidebar / Metadata tab click the filter icon
10. Click the Custom button and select an image

OBSERVED RESULT
The resultant Metadata list contains the items: {GPS Version ID}, {Color Filter Array Pattern}, {Color Space}, {Components Configuration}

EXPECTED RESULT
The resultant Metadata list should contain only the item {Components Configuration}

ADDITIONAL NOTE:
By the way, please notice that in the general list of the {View} tab of the {Embedded Image Information Management} window there is no check box labeled “Color Filter Array Pattern”

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
KDE Plasma Version: 5.14.5
KDE Frameworks Version: 5.54.0
Qt Version: 5.11.3

ADDITIONAL INFORMATION
Comment 1 caulier.gilles 2020-04-22 20:49:49 UTC
Can you reproduce this dysfunction with a more recent digiKam release. Currently we are in 7.0.0-beta3 that you can test using last AppImage Linux Bundle :

https://files.kde.org/digikam/

Gilles Caulier
Comment 2 Maik Qualmann 2020-04-23 05:55:30 UTC
I can confirm it here for digiKam-7.0.0-Beta3, depending on the image some hexadecimal metadata are also displayed. I think Exiv2 also maps this metadata, I haven't looked at the code yet.

Maik
Comment 3 Maik Qualmann 2020-04-23 20:07:37 UTC
Git commit 73e05f19829382f9f7e7252590a1ae3b006802d7 by Maik Qualmann.
Committed on 23/04/2020 at 20:05.
Pushed by mqualmann into branch 'master'.

fix filter in the metadata view
FIXED-IN: 7.0.0

M  +2    -1    NEWS
M  +4    -2    core/libs/widgets/metadata/metadatalistview.cpp

https://invent.kde.org/kde/digikam/commit/73e05f19829382f9f7e7252590a1ae3b006802d7
Comment 4 Maik Qualmann 2020-04-24 15:54:55 UTC
*** Bug 420510 has been marked as a duplicate of this bug. ***
Comment 5 harald.aust 2020-08-13 15:08:18 UTC
Created attachment 130854 [details]
IPTC Viewer

I'd like to come back on this issue.

EXIF and XMP seem to work fine now. IPTC, however, displays fields that I have not selected (Digitization Date, Digitization Time, Record Version, and Model Version). Please see attached. I can add additional fields to this, but those 4 won't go away.

Also, unlike in EXIF, Makernotes, and XMP, if a field does not have a value, it is not displayed as "unavailable" but is left out. Don't know if this is a bug or a feature.

Kind regards,
Harald
Comment 6 harald.aust 2020-08-13 15:11:01 UTC
Created attachment 130855 [details]
Makernotes Viewer

An additional (minor) issue in the Makernotes viewer: If I don't select any field at all, many fields are displayed. As soon as I select at least one field, it works as expected.

Kind regards,
Harald
Comment 7 Maik Qualmann 2020-08-13 18:54:10 UTC
I cannot reproduce a problem here with IPTC. Sure you chose Custom? You have selected "Caption", but it is not in the metadata view, it should be deactivated and displayed with the text "not available". Yes, it is intended that if no selection is made, all available options will be displayed. You activate the filter by selecting an item.

Maik
Comment 8 harald.aust 2020-08-16 13:07:11 UTC
Created attachment 130911 [details]
IPTC display 1
Comment 9 harald.aust 2020-08-16 13:07:35 UTC
Created attachment 130912 [details]
IPTC display 2
Comment 10 harald.aust 2020-08-16 13:07:51 UTC
Created attachment 130913 [details]
IPTC display 3
Comment 11 harald.aust 2020-08-16 13:09:11 UTC
The "Makernotes" issue, then, is not a bug but works as intended.

Not sure what happens with IPTC, though. In Configure digiKam/Metadata/Views/IPTC, I have selected 5 fields: Caption, Date Created, Keywords, Time Created, Character Set. Then why are Digitization Date, Digitization Time,Record Version, and Model Version displayed as well? What do you mean by "chosing Custom?"

What I just discovered, is the following: For different pictures from the same album (taken a couple of minutes apart from each other, and all processed at the same time with the same software), with the same "View" configuration, I get three different IPTC displays (screenshots attached). Please not the for those pictures where "Time Created" does not show up or is 0, the "Created" item in the "Properties" tab is displayed correctly.

Why is this? Either I am doing something wrong (what?), or digiKam is doing something wrong...

Kind regards,
Harald
Comment 12 Maik Qualmann 2020-08-16 13:23:00 UTC
Did you also select "Custom" under the filter button next to the search line? It doesn't look like it. This is individual for each tab (EXIF, IPTC, XMP).

Maik
Comment 13 harald.aust 2020-08-16 13:47:27 UTC
Created attachment 130915 [details]
Creation Date

Maik,

Indeed I did not -- I was not aware of this option. Thanks!
Observation: For EXIF, Makernote, and XMP, none of the three options was checked initially, which apparently defaulted to "Custom", so it worked there.

Additional observation: While it seems to be the case that some of my pictures don't have a "Time Created" tag (no idea how this could happen), I also have the situation where the picture *does* have this tag but it is "unavailable" in the Metadata tab (see attached). Any idea on this one -- maybe another option I have not yet discovered ;-)

Kind regards,
Harald
Comment 14 Maik Qualmann 2020-08-16 13:54:21 UTC
In the "Custom" mode, all selected metadata are always displayed, if not available in the image, "unavailable" is displayed.

Maik
Comment 15 harald.aust 2020-08-16 13:56:18 UTC
Maik,

Please don't spend any time on my last remark -- the problem seems to lie entirely with my pictures, even though I have no idea what could have caused it (same camera, same way of processing, exported from lightroom in the same batch).

Kind regards,
Harald