Summary: | Network Speed widget is not working | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | steveb <tniagcpm> |
Component: | System Monitor | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ahiemstra, alex, bholmes, bugs.kde.org, bugseforuns, francogpellegrini, fuckel, jan-bugs, jonzn4suse, kde, kde, mmbossoni, nate, nicolamori, notmart, plasma-bugs, s_chriscollins, tniagcpm, vegalin |
Priority: | NOR | Keywords: | regression |
Version: | 5.21.0 | ||
Target Milestone: | 1.0 | ||
Platform: | Neon | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/ksysguard/commit/16c5713dabb1c843d4ad81ba84195b1bbe796712 | Version Fixed In: | 5.21.1 |
Sentry Crash Report: | |||
Bug Depends on: | 425992 | ||
Bug Blocks: | |||
Attachments: |
Error message
network widget working after running cmd widget speedtest |
Description
steveb
2021-02-17 10:28:01 UTC
The "Network Rates" display in "System Monitor" is also affected the same way. This is because the applet sets the statistics refresh rate to 0 upon hiding Created attachment 135786 [details]
Error message
Same issue. It has to stay pinned or the widget will stop working.
I've been running ksystemstats --replace & to keep it going, but now I get a different message after running it. see attachment
Created attachment 135788 [details]
network widget working after running cmd
Yeah the issue is that networkmanager only has a global statistics update rate and ksystemstats and the widget both set it. And the widget disables statistics when it hides. I just updated to 5.21.0 on my Archlinux box and the network widget now works again after the failure of 5.20 series. I don't use NetworkManager nor have "Networks" popup in my system tray. I still could not find a way to set the refresh rate (currently it seems to be around 2 Hz, too much for me) but at least the widget works. (In reply to David Redondo from comment #5) > Yeah the issue is that networkmanager only has a global statistics update > rate and ksystemstats and the widget both set it. And the widget disables > statistics when it hides. I meant both ksystemstats and the connection widget set that Created attachment 135857 [details]
widget speedtest
Just a question, but is there a limit to how high the widget can read the download speed. see screenshot
The widget is displaying MegaByte/s whereas this speedtest thing shows Megabit/s Right, I thought the widget would scale up to match what's coming down. A possibly relevant merge request was started @ https://invent.kde.org/plasma/ksysguard/-/merge_requests/70 Git commit 4b5251ad162e5014b1f0cc352b1842c87daf7fbe by David Redondo. Committed on 19/02/2021 at 13:50. Pushed by davidre into branch 'master'. Force device statistics refresh rate to be always one second Unfortunately the statistics refresh rate of a device is a global property. So when it is changed from the outside we just force it back to one second. The initial rate is saved and updated when something tries to change it in order to restore it upon destruction. Because NetworkmanagerQt just forwards the DBus signal we have to guard the slot with a boolean to we do not trigger it ourselves. FIXED-IN:5.21.1 M +17 -0 plugins/global/network/NetworkManagerBackend.cpp M +1 -0 plugins/global/network/NetworkManagerBackend.h https://invent.kde.org/plasma/ksysguard/commit/4b5251ad162e5014b1f0cc352b1842c87daf7fbe Git commit 16c5713dabb1c843d4ad81ba84195b1bbe796712 by David Redondo. Committed on 22/02/2021 at 15:38. Pushed by davidre into branch 'Plasma/5.21'. Force device statistics refresh rate to be always one second Unfortunately the statistics refresh rate of a device is a global property. So when it is changed from the outside we just force it back to one second. The initial rate is saved and updated when something tries to change it in order to restore it upon destruction. Because NetworkmanagerQt just forwards the DBus signal we have to guard the slot with a boolean to we do not trigger it ourselves. FIXED-IN:5.21.1 (cherry picked from commit 4b5251ad162e5014b1f0cc352b1842c87daf7fbe) M +17 -0 plugins/global/network/NetworkManagerBackend.cpp M +1 -0 plugins/global/network/NetworkManagerBackend.h https://invent.kde.org/plasma/ksysguard/commit/16c5713dabb1c843d4ad81ba84195b1bbe796712 |