Bug 353063 - Update interval setting for system monitor plasmoids
Summary: Update interval setting for system monitor plasmoids
Status: RESOLVED FIXED
Alias: None
Product: kdeplasma-addons
Classification: Plasma
Component: General (show other bugs)
Version: 5.9.0
Platform: Other All
: NOR wishlist
Target Milestone: ---
Assignee: Kai Uwe Broulik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-22 22:10 UTC by Mircea Kitsune
Modified: 2018-04-24 15:12 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.13.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mircea Kitsune 2015-09-22 22:10:43 UTC
System monitor widgets for PlasmaShell were introduced in 5.3, for viewing CPU load + RAM usage + more. But unlike their KDE4 variants, they are missing an important setting: You cannot adjust their update interval, which is apparently hard coded to 2 seconds. I prefer update rates of 1 second or less, and would like to see this option re-introduced.

Reproducible: Always

Steps to Reproduce:
Add a monitor widget to the desktop, then right click it and go to its settings menu.

Actual Results:  
There is no longer an option to specify the update rate of the widget, as there was for the KDE4 system monitors.
Comment 1 Mircea Kitsune 2017-02-01 19:50:30 UTC
Still a problem in 5.9.0. There is no update interval option for any of the system monitor plasmoids, which I would appreciate the ability of modifying from the hardcoded default of 2 seconds.
Comment 2 Rog131 2017-02-01 21:52:29 UTC
Workaround

The interwall setting can be changed from the applet qml script. Network Monitor widget - /usr/share/plasma/plasmoids/org.kde.plasma.systemmonitor.net/contents/ui/Applet.qml has line:

'interval: 2000'

The interwall is in milliseconds.

Earlier: https://www.kubuntuforums.net/showthread.php?70905-widgets-have-limited-options-and-behaviors-in-plasma-5
Comment 3 Mircea Kitsune 2017-02-01 22:13:41 UTC
(In reply to Rog131 from comment #2)

Thank you for this information! I'd rather not change any system files unless it's a really major issue, but this is useful to know until the problem is solved.
Comment 4 Kai Uwe Broulik 2017-07-24 08:58:09 UTC
Patch: https://phabricator.kde.org/D6864
Comment 5 Mircea Kitsune 2017-07-24 10:20:04 UTC
(In reply to Kai Uwe Broulik from comment #4)
> Patch: https://phabricator.kde.org/D6864

Thank you! Please developers, approve of that patch.
Comment 6 Kai Uwe Broulik 2018-04-24 15:12:28 UTC
Git commit 2e129f84ce032fdbc4aaad8708cbb28119853088 by Kai Uwe Broulik.
Committed on 24/04/2018 at 15:12.
Pushed by broulik into branch 'master'.

[System Monitor Applet] Add setting for update interval
FIXED-IN: 5.13.0

Differential Revision: https://phabricator.kde.org/D6864

M  +4    -0    applets/systemmonitor/common/contents/config/main.xml
M  +1    -1    applets/systemmonitor/common/contents/ui/Applet.qml
M  +17   -0    applets/systemmonitor/common/contents/ui/ConfigGeneral.qml

https://commits.kde.org/plasma-workspace/2e129f84ce032fdbc4aaad8708cbb28119853088