Bug 402004

Summary: k3b issues System Probe warning for locale when using custom regional settings.
Product: [Applications] k3b Reporter: Paul <pip.kde>
Component: generalAssignee: k3b developers <k3b>
Status: RESOLVED UNMAINTAINED    
Severity: normal CC: michalm, trueg, vkrevs
Priority: NOR    
Version: 18.08.3   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Screen shot of System Probe warning.

Description Paul 2018-12-11 13:41:04 UTC
Created attachment 116858 [details]
Screen shot of System Probe warning.

SUMMARY:

My normal locale setting is "United Kingdom - British English (en_GB)"

However I require metric units and an ISO (yyyy-mm-dd) date format, therefore, from "System Settings" -> "Regional Settings" -> "Formats" I have "Time" and "Measurement Units" set to "Sweden - English (en_SE).

When these settings are in force, when k3b first starts it issues a System Probe warning for the locale setting (see attached screenshot).

If these custom settings are removed, (ie, all is "en_GB") then k3b starts normally without the warning.


STEPS TO REPRODUCE
1. Set a custom format as described above.
2. Log out/in for that format to take effect.
3. Launch k3b

OBSERVED RESULT
System Probe warning...

EXPECTED RESULT
Normal start (as the locales are in fact set correctly).

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: OpenSUSE Tumbleweed 20181208
KDE Plasma Version: 5.14.4
KDE Frameworks Version: 5.52.0
Qt Version: 5.11.2

ADDITIONAL INFORMATION

These are the custom settings in use ("~/.config/plasma-localerc"):

[Formats]
LANG=en_GB.UTF-8
LC_COLLATE=en_GB.UTF-8
LC_MEASUREMENT=en_SE.UTF-8
LC_MONETARY=en_GB.UTF-8
LC_NUMERIC=en_GB.UTF-8
LC_TIME=en_SE.UTF-8
useDetailed=true

and the associated auto-generated "~/.config/plasma-locale-settings.sh"
# Generated script, do not edit
# Exports language-format specific env vars from startkde.
# This script has been generated from kcmshell5 formats.
# It will automatically be overwritten from there.
export LANG=en_GB.UTF-8
export LC_NUMERIC=en_GB.UTF-8
export LC_TIME=en_SE.UTF-8
export LC_MONETARY=en_GB.UTF-8
export LC_MEASUREMENT=en_SE.UTF-8
export LC_COLLATE=en_GB.UTF-8
export LANGUAGE=en_GB
Comment 1 Paul 2022-09-16 13:51:08 UTC
Closing some of my old bug reports that aren't being acted upon. (There needs to be a resolution category "Died - Old Age")

To anyone on the "cc" list - please re-open if you feel the need.