Bug 375378 - Pie chart on main screen has no colors when system language is different than english.
Summary: Pie chart on main screen has no colors when system language is different than...
Status: RESOLVED FIXED
Alias: None
Product: filelight
Classification: Applications
Component: general (show other bugs)
Version: 1.21
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Martin Sandsmark
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-21 16:39 UTC by retired
Modified: 2018-07-21 13:31 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Locale set to Polish (70.92 KB, image/png)
2017-01-21 16:39 UTC, retired
Details
Locale set to English (64.90 KB, image/png)
2017-01-21 16:39 UTC, retired
Details

Note You need to log in before you can comment on or make changes to this bug.
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