SUMMARY *** NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols. See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports *** The Country entry seems to be limited to a preset, and nothing beyond that can be displayed. STEPS TO REPRODUCE 1. Open KAddressBook, edit a contact, switch to Location tab 2. Fill in "Country" with "Sealand" while fill in everything else with "x" 3. Add address OBSERVED RESULT The country shown on the right is "CANADA." EXPECTED RESULT The country shown on the right should be "SEALAND." SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: 6.1.6 / 5.26.5 (available in About System) KDE Plasma Version: 5.26.5 KDE Frameworks Version: 5.102.0 Qt Version: 5.15.8 ADDITIONAL INFORMATION
Hi, Why do you want to add no existing country ? Regards
(In reply to Laurent Montel from comment #1) > Hi, > Why do you want to add no existing country ? > Regards (1) Sealand *is* an existing country ( https://en.wikipedia.org/wiki/Principality_of_Sealand ) (2) New countries may be created over time, and the software should not need an update to use them. (3) Countries not well recognized or has controversial states exist. People may want to use that name to respect the views of people living there. In some cases, they are oppressed people who need to get their voice heard. (4) Having a hardcoded list for no reason is not reasonable.
We use kcountry.h * @class KCountry kcountry.h <KCountry> * * Information about an ISO 3166-1 country. it uses official iso3166-1 country list.
(In reply to Laurent Montel from comment #3) > We use kcountry.h > > * @class KCountry kcountry.h <KCountry> > * > * Information about an ISO 3166-1 country. > > it uses official iso3166-1 country list. It would be reasonable to "fall back to what it is" when it doesn't match anything in the list.