<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>451920</bug_id>
          
          <creation_ts>2022-03-26 08:53:35 +0000</creation_ts>
          <short_desc>Changing format settings causes issues in applications</short_desc>
          <delta_ts>2022-03-28 22:30:58 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>systemsettings</product>
          <component>kcm_formats</component>
          <version>5.24.3</version>
          <rep_platform>Other</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>403580</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="David">david.cortes.rivera</reporter>
          <assigned_to name="Plasma Bugs List">plasma-bugs-null</assigned_to>
          <cc>hanyoung</cc>
    
    <cc>nate</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2113492</commentid>
    <comment_count>0</comment_count>
    <who name="David">david.cortes.rivera</who>
    <bug_when>2022-03-26 08:53:35 +0000</bug_when>
    <thetext>SUMMARY
If I change some specific format in the system settings without changing the global, some applications will complain about something like LC_TYPE - e.g.:
During startup - Warning message:
Setting LC_TIME failed, using &quot;C&quot;

STEPS TO REPRODUCE
1. Go to Sytem Settings -&gt; Regional Settings -&gt; Formats.
2. Set the region to &quot;en_US.UTF-8&quot;.
3. Reboot the computer.
4. Go back to the same place in the settings, but this time set the time format to something non-default, such as &quot;en_DE.UTF-8&quot;.
5. Reboot the computer.
6. Use random non-KDE applications and see what they have to say. For example, try using R (in debian, this is package &quot;r-base&quot;).

OBSERVED RESULT
R says:
During startup - Warning message:
Setting LC_TIME failed, using &quot;C&quot;

EXPECTED RESULT
Programs should not complain about format settings.

SOFTWARE/OS VERSIONS
Operating System: Debian GNU/Linux
KDE Plasma Version: 5.24.3
KDE Frameworks Version: 5.90.0
Qt Version: 5.15.2
Kernel Version: 5.16.0-5-amd64 (64-bit)
Graphics Platform: X11
Processors: 16 × AMD Ryzen 7 2700 Eight-Core Processor
Memory: 15.6 GiB of RAM
Graphics Processor: AMD VEGA10</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2113575</commentid>
    <comment_count>1</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2022-03-26 16:19:09 +0000</bug_when>
    <thetext>Can you paste the output of `cat ~/.config/plasma-localerc`?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2113629</commentid>
    <comment_count>2</comment_count>
    <who name="David">david.cortes.rivera</who>
    <bug_when>2022-03-26 19:56:04 +0000</bug_when>
    <thetext>(In reply to Nate Graham from comment #1)
&gt; Can you paste the output of `cat ~/.config/plasma-localerc`?

Output is as follows:
[Formats]
LANG=en_US.UTF-8
LC_TIME=en_DE.UTF-8</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2114036</commentid>
    <comment_count>3</comment_count>
    <who name="David">david.cortes.rivera</who>
    <bug_when>2022-03-28 16:49:21 +0000</bug_when>
    <thetext>As a bonus, depending on what&apos;s configured for the regional settings, JuK might take a long time to be able to play songs from the main window when just launched (they will show as greyed out in the meantime, and will not play when clicked, but individual playlists - if any - can be played in the meantime), and under some other configurations, Klickety might take a very long time to show a GUI when launched (without showing any message during the loading time).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2114037</commentid>
    <comment_count>4</comment_count>
    <who name="">hanyoung</who>
    <bug_when>2022-03-28 16:52:18 +0000</bug_when>
    <thetext>Because the locales haven&apos;t been generated.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2114110</commentid>
    <comment_count>5</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2022-03-28 22:30:58 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 403580 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>