Bug 472442

Summary: Choosing sensors is broken, very few sensors are offered when LC_ALL is set to C
Product: [Applications] plasma-systemmonitor Reporter: Patrick <mail>
Component: generalAssignee: KSysGuard Developers <ksysguard-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: ahiemstra, maciej.stanczew, plasma-bugs-null
Priority: NOR    
Version First Reported In: 5.27.6   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Patrick 2023-07-20 20:58:52 UTC
SUMMARY

When configuring a sensor widget, the menu that is shown when clicking "Click to select a sensor..." is missing lots of content. Example: I only get offered Power and Disks. Under Disks I only have a single item "3.6 TiB Internal Drive (dm-0)" and under that I only have a single item "... Read Rate (B/s)". Even tough in an existing widget I have a graph of another drive (dm-1) - it should have been shown as well, amongst many other things.


STEPS TO REPRODUCE
1. Open System Monitor
2. Add a new page
3. Click on System Monitor Sensor
4. In the right pane, click on "Click to select a sensor..."

OBSERVED RESULT

Very few entries in the menu, lots of content missing

EXPECTED RESULT

The usual content to choose from


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Ubuntu 23.10 / 6.3.0-7-generic (64-bit)
(available in About System)
KDE Plasma Version: 5.27.6
KDE Frameworks Version: 5.108.0
Qt Version: 5.15.10

ADDITIONAL INFORMATION
Comment 1 Patrick 2023-07-23 13:41:39 UTC
After a couple of hours of investigating, I've found out that this was caused by

  export LC_ALL=C

in my ~/.bashrc

I saw that it's still working as expected in another account on the same box, with the only difference being that this account had German set as language in KDE, whereas mine had American English. I then tried to change it to German as well to see what would happen, but even though the UI said "Deutsch", all strings were still English. Took me a long time to make the link between my .bashrc and KDE's sensor menu being scrambled.

So I still think there is a bug, but it's definitely not as severe as I thought, because there will be few users that have such an additional configuration in .bashrc.
Comment 2 Maciej Stanczew 2023-08-06 09:25:56 UTC
This is already reported in bug #461070.
Comment 3 Patrick 2023-08-06 09:37:28 UTC
Ok, thanks, marking as duplicate.

*** This bug has been marked as a duplicate of bug 461070 ***