Bug 423070

Summary: Uptime sensors are not working
Product: [Plasma] plasmashell Reporter: Patrick Silva <bugseforuns>
Component: System Monitor widgetsAssignee: Marco Martin <notmart>
Status: RESOLVED FIXED    
Severity: normal CC: nate, plasma-bugs-null
Priority: NOR Keywords: regression
Version First Reported In: 5.19.1   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: screenshot
Uptime sensors on Plasma 5.20 beta

Description Patrick Silva 2020-06-16 20:07:18 UTC
Created attachment 129431 [details]
screenshot

SUMMARY
"System uptime" and "Uptime" sensors are available in the widget settings, none works.
"System uptime" remains "0:00" even after reboot and "Uptime" not even shows its label when added.

STEPS TO REPRODUCE
1. add "System monitor sensor" widget to your desktop
2. open its settings, "Sensors details" section, add "Uptime" or "System uptime" sensors
3. 

OBSERVED RESULT
See the attached screenshot please.

EXPECTED RESULT
uptime sensors should work

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.19.1
KDE Frameworks Version: 5.71.0
Qt Version: 5.15.0
Comment 1 Patrick Silva 2020-09-18 17:24:02 UTC
Created attachment 131749 [details]
Uptime sensors on Plasma 5.20 beta

System Uptime sensor is working partially on Plasma 5.20 beta, now it shows a weird value.
Uptime sensor shows no label/value.

Operating System: Arch Linux
KDE Plasma Version: 5.19.90
KDE Frameworks Version: 5.74.0
Qt Version: 5.15.1
Comment 2 Patrick Silva 2020-10-17 10:19:19 UTC
(In reply to Patrick Silva from comment #1)
> Created attachment 131749 [details]
> Uptime sensors on Plasma 5.20 beta
> 
> System Uptime sensor is working partially on Plasma 5.20 beta, now it shows
> a weird value.
> Uptime sensor shows no label/value.
> 
The "weird value" is in mm:ss format. dd:hh:mm format should be more human-readable. Uptime sensor is still not working on Plasma 5.20, it is redundant and could be eliminated.
Comment 3 Patrick Silva 2021-05-08 13:45:42 UTC
On neon unstable, Uptime sensor works and System Uptime sensor no longer exists.
I have created another bug report suggesting more human readable
uptime format (see bug 436775).

SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.21.80
KDE Frameworks Version: 5.82.0
Qt Version: 5.15.2
Graphics Platform: Wayland