Bug 422467 - KCM format doesn't match with locale settings
Summary: KCM format doesn't match with locale settings
Status: RESOLVED FIXED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_formats (show other bugs)
Version: 5.19.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Sebastian Kügler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-04 22:34 UTC by smihael
Modified: 2021-10-06 07:45 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.24


Attachments
locale output, setting as saved in kcm and time/calendar widget (1.58 MB, image/png)
2020-06-04 22:34 UTC, smihael
Details
plasma-localerc (64 bytes, text/plain)
2020-06-04 22:34 UTC, smihael
Details

Note You need to log in before you can comment on or make changes to this bug.
Description smihael 2020-06-04 22:34:07 UTC
Created attachment 129055 [details]
locale output, setting as saved in kcm and time/calendar widget

I've been trying to change Formats in the Regional Settings. Even after logging out and logging back in, the changes were not applied. It seems that the settings don't have any effect on the output of the locale command either. As a result clock and calendar widgets do not react to time format changes.

STEPS TO REPRODUCE
1. systemsettings, Regional settings, Format
2. Change Region from USA (en_US) to for example Slovenia (sl_SI, en_SI)
3. log out/log in


OBSERVED RESULT
Output of the locale command is still used in the apps as regional setting - week in the calendar still starts with Sunday, time is not in the 24h format)


SOFTWARE/OS VERSIONS
kde neon
Qt: 5.14.2
KDE Frameworks: 5.70.0
kf5-config: 1.0
Comment 1 smihael 2020-06-04 22:34:54 UTC
Created attachment 129056 [details]
plasma-localerc
Comment 2 Nate Graham 2021-10-05 17:21:27 UTC
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 389529, bug 410606, 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
Comment 3 Ben Cooksley 2021-10-06 07:45:34 UTC
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 389529, bug 410606, 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