<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>510824</bug_id>
          
          <creation_ts>2025-10-20 11:31:32 +0000</creation_ts>
          <short_desc>Missing Montenegro country in Metadata template editor (and outdated country code for Serbia)</short_desc>
          <delta_ts>2025-12-25 10:54:45 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>digikam</product>
          <component>Metadata-Xmp</component>
          <version>8.7.0</version>
          <rep_platform>Other</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Eduardo Kalinowski">eduardo</reporter>
          <assigned_to name="Digikam Developers">digikam-bugs-null</assigned_to>
          
          
          <cf_commitlink>https://invent.kde.org/graphics/digikam/-/commit/26645db9cc4ea0cb29d7bca2f9400207a386c46e</cf_commitlink>
          <cf_versionfixedin>9.0.0</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2463235</commentid>
    <comment_count>0</comment_count>
    <who name="Eduardo Kalinowski">eduardo</who>
    <bug_when>2025-10-20 11:31:32 +0000</bug_when>
    <thetext>SUMMARY
The country of Montenegro (MNE) is not available in the Metadata template editor.
Also SCG for Serbia seems outdated, the new code should be SRB
https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3

STEPS TO REPRODUCE
1. Open the Metadata template editor
2. Select the &quot;Location tab&quot;
3. Open the &quot;Country combo&quot;

OBSERVED RESULT
Montenegro cannot be found.

EXPECTED RESULT
MNE - Montenegro should be available
SRB should be used for Serbia.

SOFTWARE/OS VERSIONS
digiKam: 8.7.0
KDE Frameworks: 6.18.0
Qt: Using 6.9.2 and built against 6.9.2
Debian GNU/Linux forky/sid (Xcb)
Build ABI: x86_64-little_endian-lp64
Kernel: linux 6.16.9+deb14-amd64</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2463346</commentid>
    <comment_count>1</comment_count>
    <who name="Maik Qualmann">metzpinguin</who>
    <bug_when>2025-10-20 18:16:22 +0000</bug_when>
    <thetext>Git commit 26645db9cc4ea0cb29d7bca2f9400207a386c46e by Maik Qualmann.
Committed on 20/10/2025 at 18:15.
Pushed by mqualmann into branch &apos;master&apos;.

update country code map
FIXED-IN: 8.9.0

M  +1    -1    NEWS
M  +2    -1    core/libs/widgets/metadata/utils/countryselector.cpp

https://invent.kde.org/graphics/digikam/-/commit/26645db9cc4ea0cb29d7bca2f9400207a386c46e</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>