Bug 462991 - Wrong speed is displayed immediately after applet opening
Summary: Wrong speed is displayed immediately after applet opening
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Networks widget (other bugs)
Version First Reported In: master
Platform: Arch Linux Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-13 07:28 UTC by Serge Roussak
Modified: 2025-06-02 16:49 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Serge Roussak 2022-12-13 07:28:09 UTC
SUMMARY
Right after the network applet has been opened, the speeds are displayed incorrectly. It looks like the traffic is accumulated since the time when the applet had been opened last time and it is used to calculate the speeds.

STEPS TO REPRODUCE
1. Connect using some connection (it doesn't matter, which kind -- Wi-Fi, wired).
2. Open for several seconds the network applet and close it.
3. Start some traffic consuming operation (downloading, listening internet radio, watching video -- yeah, this is most interesting part )) and wait some time.
4. Again open the network applet.

OBSERVED RESULT
Right after applet opening, the speeds shown are inadequately high. And they are the more inadequate the more time was run since the applet was opened. I.e., it looks like traffic is accumulated all the time (regardless if the applet is opened or not), but the speed is calculated only when the applet is opened. The traffic diagram also shows a spike at the beginning, so that following traffic is most likely will be invisible (because of diagram's scaling).

EXPECTED RESULT
The speed-meters should contain actual traffic speed, without its accumulation. As well, the diagram.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux updated on 2022-12-12
KDE Plasma Version: 5.26.4
KDE Frameworks Version: 5.101.0
Qt Version: 5.15.7

ADDITIONAL INFORMATION
I'm not sure which version on, but this bug was being fixed. I.e., during a couple of months in this year, the speeds were being shown right. But after some update they were broken again.
Comment 1 Nate Graham 2023-01-04 17:45:16 UTC
Ah, this again. Sigh.

That said, I cannot reproduce the issue as described here.
Comment 2 Serge Roussak 2023-01-08 12:53:10 UTC
So, it looks like I'm not first who reported about this issue... :)
I can record the video to reveal this behaviour mentioned, but I'm not sure if this step is needed. Especially, there was the cases of reporting this issue previously.
If it'll help to catch the misbehaviour, I can add some debugging code somewhere in the plasmoid's sources or do something like that in order to provide more info.
Comment 3 Ben Cooksley 2024-12-23 18:25:50 UTC
Bulk transfer as requested in T17796
Comment 4 Lenzoid 2025-06-01 12:15:37 UTC
Cannot reproduce in git-master. Serge can you re-test this (ideally in Beta 2 or KDE Neon testing)? Not quite sure what exactly you did in your steps. Not sure what you mean by "open the network applet", so to me, a video or detailed instructions would be helpful tbh.

What I tested: 

- "Network speed" widget docked inside a panel, monitoring the speed there. 
- "Networks" widget added to desktop, scaled it up so I can see all my interfaces, then clicked on my Main connection (Wired connection 1) to see the speeds.
Comment 5 Lenzoid 2025-06-01 12:18:21 UTC
Setting this to needsinfo so it will poke us after 14 days in case we forget it.
Comment 6 Serge Roussak 2025-06-02 06:03:33 UTC
It was about 3 years ago… :) So, you probably should try to reproduce it on the versions mentioned in the ticket.
As for now, I have the following versions:

KDE Plasma Version: 6.3.5
KDE Frameworks Version: 6.14.0
Qt Version: 6.9.0

Since some update (actually, I thought that this ticket was the cause of change in this update), the behaviour was changed so that the traffic speed is shown equal to zero (instead of inadequately high values) right after the applet opening for second or two. I.e., it looks like someone worked this issue around in such a way. And such a behaviour is being observed at the present, on the versions mentioned in this post.

I'm not sure anymore, but I remember something like that some time in 2022 (or earlier) the applet had appeared with actual speed values (not GiBytes per second, nor zero) right after its opening.

By the "open the network applet" I meant the clicking on the "Networks" icon in the tray and the following appearing of the corresponding applet by itself.
Comment 7 TraceyC 2025-06-02 16:49:23 UTC
I'm going to mark this as resolved, since the bug as originally reported is resolved. I've also verified on my machine with git-master.

Please open a new bug report if you believe the current behavior to be incorrect or would like it improved. Thanks.