https://bugs.kde.org/show_bug.cgi?id=359802

            Bug ID: 359802
           Summary: weird speed-graph unit labeling
           Product: plasma-nm
           Version: 5.5.4
          Platform: Gentoo Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: applet
          Assignee: jgrul...@redhat.com
          Reporter: lukas.schneiderba...@gmail.com
                CC: lu...@kde.org

On the left side of the speed graph in the nm-applet, the units of the graph
are indicated. They obviously are not scaled in a linear way.
Is this intended? I am under the impression, that the graph plots linearly by
default; so for me it doesn't make much sense this way.

The scaling of the labels is reflected in
plasma-nm/applet/contents/ui/ConnectionItem.qml, line 303:
text: KCoreAddons.Format.formatByteSize((plotter.maxValue * 1024) / (index +
1))

in my opinion the line should read
text: KCoreAddons.Format.formatByteSize( (plotter.maxValue * 1024) * (1-
index/5)) )
to get a proper linear scale.

Reproducible: Always

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to