Bug 375378

Summary: Pie chart on main screen has no colors when system language is different than english.
Product: [Applications] filelight Reporter: retired <pepko94>
Component: generalAssignee: Martin Sandsmark <martin.sandsmark>
Status: RESOLVED FIXED    
Severity: normal CC: bugseforuns, lueck
Priority: NOR    
Version First Reported In: 1.21   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Locale set to Polish
Locale set to English

Description retired 2017-01-21 16:39:03 UTC
Created attachment 103574 [details]
Locale set to Polish

After installing Arch on a new system I forgot to generate locale for pl_PL.
Thanks to that I realised that there is a bug in filelight.
When language is set to english then on main screen free and used space have different color. Guess what, in polish it's all white.

Only main screen is affected.

Demonstration in attachments.
Comment 1 retired 2017-01-21 16:39:32 UTC
Created attachment 103575 [details]
Locale set to English
Comment 2 retired 2017-01-21 16:42:47 UTC
There's nothing different in console output.
Comment 3 Burkhard Lück 2017-01-22 08:27:52 UTC
Confirmed with 
Ubuntu 16.04.1 LTS
Filelight Version 1.21 
KDE Frameworks 5.28.0
Qt 5.6.1 (kompiliert gegen 5.6.1)
Das xcb Fenstersystem
Breeze design
+
master build from sources
Filelight Version 1.21
KDE Frameworks 5.31.0
Qt 5.6.1 (built against 5.6.1)
The xcb windowing system
Breeze design

Any locale except en_US have no different colors on main screen
Comment 4 Martin Sandsmark 2018-07-21 12:50:20 UTC
it seems to be only LC_MESSAGES affecting it. LC_MESSAGES and LANG are the only locale settings I have set to en_US.UTF-8, I guess that's why I didn't discover it earlier.
Comment 5 Martin Sandsmark 2018-07-21 13:31:26 UTC
forgot the BUG tag, but it's fixed by this: https://commits.kde.org/filelight/aa597cb8e55d5ce4ede6464c00ed330f53b0490b
Comment 6 Martin Sandsmark 2018-07-21 13:31:55 UTC
sorry, the parent commit https://cgit.kde.org/filelight.git/commit/?id=f045538172b140d6656de4204986f8927b711e40