Bug 433141 - ksysguardd plasmoids are strangely "bilingual", leading to plasmoids not working
Summary: ksysguardd plasmoids are strangely "bilingual", leading to plasmoids not working
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: System Monitor widgets (show other bugs)
Version: 5.21.0
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-02-18 07:46 UTC by Mathias Homann
Modified: 2021-02-26 07:40 UTC (History)
6 users (show)

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


Attachments
screenshot of plasmoids on computer 1 (99.47 KB, image/jpeg)
2021-02-18 07:46 UTC, Mathias Homann
Details
screenshot of plasmoids on computer 2 (73.01 KB, image/jpeg)
2021-02-18 07:53 UTC, Mathias Homann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mathias Homann 2021-02-18 07:46:16 UTC
Created attachment 135813 [details]
screenshot of plasmoids on computer 1

SUMMARY
ksysguardd plasmoids are "bilingual", leading to some values not being monitorable since the plasmoid seems to expect german but the underlying tools deliver english output.

STEPS TO REPRODUCE
1. ?
2. ?
3. ?


... i haven't found any way to clearly reproduce it. I have two systems both running the same versions of packages (I ran rpm -qa | sort -V on both and fed the output into diff), and the behaviour of ksysguardd plasmoids is broken on both, but differently.

OBSERVED RESULT
Plasmoids display no values, or values with german (unusable) descriptions. I've attached two screenshots from my two desktops which make it much more clear.

EXPECTED RESULT
plasmoids should consistently use the same language all over, and consistently monitor and display system values.


SOFTWARE/OS VERSIONS
Operating System: openSUSE Leap 15.2
KDE Plasma Version: 5.21.0
KDE Frameworks Version: 5.79.0
Qt Version: 5.15.2
Kernel Version: 5.3.18-lp152.63-default
OS Type: 64-bit
Graphics Platform: X11
Processors: 4 × Intel® Core™ i5-4210U CPU @ 1.70GHz
Memory: 15.6 GiB of RAM
Graphics Processor: Mesa DRI Intel® Haswell Mobile

ADDITIONAL INFORMATION
Comment 1 Mathias Homann 2021-02-18 07:53:18 UTC
Created attachment 135814 [details]
screenshot of plasmoids on computer 2

Specifically, compare the "disk usage" plasmoid in both screenshots.
Both computers have their storage set up the same way: one physical harddisk, all filesystems are logical volumes in LVM in the same volumegroup, even the names are similar, for example the root filesystem is /dev/system/rootvol on both computers. Also, the user running the desktop is member of the same groups (wheel, disk, and all that) on both systems.
Comment 2 Mathias Homann 2021-02-18 08:16:05 UTC
at least the part about the disk usage plasmoind displaying "Linux Filesystem" instead of the device or mountpoint has been solved - the filesystems in question did not have a file system label.
I believe that should actually be in the documentation for the plasmoid somewhere.
Comment 3 Mathias Homann 2021-02-18 11:52:28 UTC
(In reply to Mathias Homann from comment #2)
> at least the part about the disk usage plasmoind displaying "Linux
> Filesystem" instead of the device or mountpoint has been solved - the
> filesystems in question did not have a file system label.
> I believe that should actually be in the documentation for the plasmoid
> somewhere.

in fact, what happened to using the actual mountpoint? That would be much more informative.
Comment 4 David Redondo 2021-02-19 14:46:35 UTC
The mixed language output might just be that the German translation is not finished yet. 

For the disk names we use whatever the Solid library returns as displayName() of the disk  (i.e. the names also in Dolphin sidebar) which I guess uses the label but indeed maybe mountpoint might make more sense, both sets of names in your screenshot are not very useful

Any other plasmoid not working?
Comment 5 David Redondo 2021-02-25 15:16:17 UTC
Needsinfo because waiting for inco
Comment 6 Mathias Homann 2021-02-25 19:29:48 UTC
other ksysguard plasmoids seem to work fine.
Comment 7 David Redondo 2021-02-26 07:40:46 UTC
Ok if they are fine, then I will close this, seems like you figured the out the issue with the names of the hard drives