https://bugs.kde.org/show_bug.cgi?id=480379

            Bug ID: 480379
           Summary: Changing Address, Name Style, Paper Size or Phone
                    Numbers in Region & Language system settings has no
                    effect.
    Classification: Plasma
           Product: plasmashell
           Version: master
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Startup process
          Assignee: plasma-b...@kde.org
          Reporter: timo.vel...@hotmail.de
                CC: k...@davidedmundson.co.uk
  Target Milestone: 1.0

SUMMARY
Changing Address, Name Style, Paper Size or Phone Numbers in Region & Language
system settings has no effect.

STEPS TO REPRODUCE
1. Change Address, Name Style, Paper Size or Phone Numbers to some value (I
changed them to de_DE).
2. These values (LC_ADDRESS, LC_PAPER, LC_TELEPHONE, LC_MONETARY) are correctly
written into ~/.config/plasma-localerc
3. Logout and log back in

OBSERVED RESULT

Run the locale command to see that the corresponding environment variables
remain unchanged (and in fact, they are not set at all, and the values
displayed by locale are just their inherited values)

EXPECTED RESULT

The environment variables LC_ADDRESS, LC_PAPER, LC_TELEPHONE, LC_MONETARY
should be set to the values specified in  ~/.config/plasma-localerc

SOFTWARE/OS VERSIONS
Fedora 39, KDE Plasma Version 5.27.10. I have also observed the same behavior
on KDE Neon last week.

ADDITIONAL INFORMATION

It seems to me that, for whatever reason, plasma only sets those LC_* variables
listed in
https://invent.kde.org/plasma/plasma-workspace/-/blob/7b7e70b2262285dbfc294cc6617f4c0787a61d5c/startkde/startplasma.cpp#L171.
As far as I can tell, this has been the case for a very long time, and
curiously was never changed, even when the options to change LC_ADDRESS, etc
where introduced (see
https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/1971). So, as
far as I can tell, these have never actually worked at all (?).

In any case, I propose removing the variable lcValues entirely, and to just add
all values of that config file section into the environment. If that is
unacceptable for some reason, I propose adding the missing LC_* values to the
list lcValues.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to