https://bugs.kde.org/show_bug.cgi?id=461904
Akseli Lahtinen <akse...@akselmo.dev> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Version Fixed In| |6.2.0 Latest Commit| |https://invent.kde.org/plas | |ma/plasma-workspace/-/commi | |t/5e2c176a6e386339ce17eb4ff | |f9a137f34e1d323 Status|ASSIGNED |RESOLVED --- Comment #23 from Akseli Lahtinen <akse...@akselmo.dev> --- Git commit 5e2c176a6e386339ce17eb4fff9a137f34e1d323 by Akseli Lahtinen. Committed on 19/09/2024 at 10:47. Pushed by akselmo into branch 'master'. kcmregionandlang.cpp: Clear baseLocaleMap strings from ".UTF-8" and similar text When constructing the baseLocaleMap, we also have the .UTF-8 after the glibcLocale in the map. Later in "fullMatch" iterator this breaks the matching, since we're comparing for example "en_GB" to "en_GB.UTF-8". They're both the same thing, but since the strings do not match, we do not get the exact values and end up doing a lot of extra work to match the locale to closest possible one with heuristics, even though we have exact match already. Removing the .UTF-8 and other similar parts from the prefixedLocales list fixes the issue and allows full matching. FIXED-IN: 6.2.0 M +4 -2 kcms/region_language/kcmregionandlang.cpp https://invent.kde.org/plasma/plasma-workspace/-/commit/5e2c176a6e386339ce17eb4fff9a137f34e1d323 -- You are receiving this mail because: You are watching all bug changes.