When setting different standards for formats (systemsettings5 --> Regional Settings --> Formats --> check 'Detailed Settings'), it seems that something is set incorrectly and affects other applications. I am not sure what the problem is exactly, but it causes problems in other applications – for example: -R throws this message: Setting LC_TIME failed, using "C" -wine throws this message: locale 'en_US' cannot be set -Ark fails to extract files with non-ACII characters (and displays them as question marks)
What exactly did you do in the KCM? Can you share a screenshot of it?
Created attachment 142156 [details] custom_format Attached is an example of a configuration that would give problems.
Thanks. Can you paste the output of `locale` and `cat ~/.config/plasma-localerc`?
Created attachment 142175 [details] locales_err Attached is a screenshot of a configuration that gave me errors right when calling "locale". I'm not 100% sure if errors in applications happen instantateously, or only after going through an update of the kernel (or some other component, not sure which) which forces the system to rebuild locales (and which takes several minutes every time, don't remember the exact message when that kind of thing happens). Output: david@debian:~$ locale locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory LANG=en_DE.UTF-8 LANGUAGE=en_US:en LC_CTYPE="en_DE.UTF-8" LC_NUMERIC="en_DE.UTF-8" LC_TIME="en_DE.UTF-8" LC_COLLATE="en_DE.UTF-8" LC_MONETARY=en_US.UTF-8 LC_MESSAGES="en_DE.UTF-8" LC_PAPER="en_DE.UTF-8" LC_NAME="en_DE.UTF-8" LC_ADDRESS="en_DE.UTF-8" LC_TELEPHONE="en_DE.UTF-8" LC_MEASUREMENT=fo_DK.UTF-8 LC_IDENTIFICATION="en_DE.UTF-8" LC_ALL= david@debian:~$ cat ~/.config/plasma-localerc [Formats] LANG=en_DE.UTF-8 LC_MEASUREMENT=fo_DK.UTF-8 LC_MONETARY=en_US.UTF-8 useDetailed=true
Git commit 25485ac8d35ec25c1cf1475516016d6f8b93a9f2 by Nate Graham, on behalf of Han Young. Committed on 05/10/2021 at 17:20. Pushed by ngraham into branch 'master'. port formats to qml Related: bug 279658, bug 338599, bug 362865, bug 410606, bug 422467, bug 426313 FIXED-IN: 5.24 M +16 -7 kcms/formats/CMakeLists.txt D +0 -113 kcms/formats/formats.desktop M +46 -326 kcms/formats/kcmformats.cpp M +15 -33 kcms/formats/kcmformats.h D +0 -385 kcms/formats/kcmformatswidget.ui https://invent.kde.org/plasma/plasma-workspace/commit/25485ac8d35ec25c1cf1475516016d6f8b93a9f2
Git commit 32a565bae7e2f7243d2715df56b8617dc8dd3612 by Ben Cooksley, on behalf of Han Young. Committed on 06/10/2021 at 07:41. Pushed by bcooksley into branch 'master'. kcms/formats: port to QML Related: bug 279658, bug 338599, bug 362865, bug 410606, bug 422467, bug 426313 FIXED-IN: 5.24 M +16 -7 kcms/formats/CMakeLists.txt A +66 -0 kcms/formats/exampleutility.cpp [License: GPL(v2.0+)] D +0 -113 kcms/formats/formats.desktop A +61 -0 kcms/formats/formatssettings.kcfg A +6 -0 kcms/formats/formatssettings.kcfgc M +46 -326 kcms/formats/kcmformats.cpp M +15 -33 kcms/formats/kcmformats.h D +0 -385 kcms/formats/kcmformatswidget.ui A +176 -0 kcms/formats/localelistmodel.cpp [License: GPL (v2+)] A +58 -0 kcms/formats/localelistmodel.h [License: GPL (v2+)] A +140 -0 kcms/formats/optionsmodel.cpp [License: GPL(v2.0+)] A +32 -0 kcms/formats/optionsmodel.h [License: GPL(v2.0+)] A +126 -0 kcms/formats/package/contents/ui/main.qml [License: LGPL(v3.0+)] A +23 -0 kcms/formats/package/metadata.desktop https://invent.kde.org/plasma/plasma-workspace/commit/32a565bae7e2f7243d2715df56b8617dc8dd3612
Issue is still present in 5.24.2 when setting a custom time format: Setting LC_TIME failed, using "C"