Bug 440363 - Missing entry field for State/Province in Metadata Editor.
Summary: Missing entry field for State/Province in Metadata Editor.
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Metadata-Xmp (show other bugs)
Version: 7.4.0
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-07-28 17:08 UTC by jm7@acm.org
Modified: 2021-07-29 19:45 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jm7@acm.org 2021-07-28 17:08:54 UTC
SUMMARY

Missing Contact - State/Province in the Metadata Editor Edit XMP Credits Panel.


STEPS TO REPRODUCE
1. Select one or more jpg files
2. Ctrl-Shift-M to open the metadata editor for that image
3. Select the "Edit XMP" tab at the top
4. Select the "Credits" tab on the left.
5. Inspect the "Contact" section.
6. Enter data and apply.  Inspect the DB.  City is placed correctly, Province/State is blank.
7. Enter data with City, Stata (US convention for address labels).  Hit apply.  Inspect the DB.  City is of the form "City, State".  Province/State is blank.

OBSERVED RESULT
There does not appear to be a way to enter the Province/State.

From the DB for the image

1718168	308	copyrightNotice	Copyright John McLeod VII.  All rights reserved.	x-default
1718166	308	creator	John McLeod VII	
1718174	308	creatorContactInfo.address	<redacted>	
1718172	308	creatorContactInfo.city	Mableton	
1718173	308	creatorContactInfo.country	United States	
1718177	308	creatorContactInfo.email	<redacted>	
1718178	308	creatorContactInfo.phone	<redacted>	
1718175	308	creatorContactInfo.postalCode	<redacted>	
1718176	308	creatorContactInfo.provinceState		
1718179	308	creatorContactInfo.webUrl	<intentionally left Blank>
1718170	308	creatorJobTitle		        <intentionally left Blank>
1718171	308	instructions		        <intentionally left Blank>
1718167	308	provider		        <intentionally left Blank>
1718169	308	source		                <intentionally left Blank>

EXPECTED RESULT
There should be a way to enter the Province/State

SOFTWARE/OS VERSIONS
Windows: 10
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
I tried using the US Syntax for entering a city, state to see what would happen.  The city in the DB appeared as City, State.  But the State creatorContactInfo.provinceState remains null.
Comment 1 Maik Qualmann 2021-07-28 19:42:19 UTC
Git commit 9a30addd29ff3e971f1a995fea7bbe3e67fc0712 by Maik Qualmann.
Committed on 28/07/2021 at 19:40.
Pushed by mqualmann into branch 'master'.

add missing State/Province field in the Metadata Editor
FIXED-IN: 7.4.0

M  +2    -1    NEWS
M  +52   -2    core/dplugins/generic/metadata/metadataedit/xmp/xmpcredits.cpp

https://invent.kde.org/graphics/digikam/commit/9a30addd29ff3e971f1a995fea7bbe3e67fc0712
Comment 2 Maik Qualmann 2021-07-29 19:45:26 UTC
*** Bug 440392 has been marked as a duplicate of this bug. ***