RX/TX rates shown from tray are 2.5x too high

Bug #1429453 reported by Lithopsian
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
wicd
New
Undecided
Unassigned

Bug Description

In wicd-gtk there is a small connection info dialog which has receive and transmit rates. These are calculated by taking the number of bytes transferred over a five second interval (hard-coded as 5000) and dividing by 2,048 (self.time * 1024) to get a result in kB/s. self.time is 2. Hence the results are higher than the actual rates by 2.5 times. Not exactly high priority, I could happily live without that dialog completely. Or better yet stick the info on the tooltip ;)

The first values shown after opening the dialog are also massively high. I think the values "wrap" from the -1 which the byte counts are initialised to? Maybe don't show anything until real data is available?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.