Bug 207316 - system monitor RAM shows ram size in MB - too big
Summary: system monitor RAM shows ram size in MB - too big
Status: RESOLVED FIXED
Alias: None
Product: plasma4
Classification: Plasma
Component: widget-systemmonitor (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: junior-jobs
Depends on:
Blocks:
 
Reported: 2009-09-14 07:44 UTC by SlashDevDsp
Modified: 2018-09-04 21:08 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description SlashDevDsp 2009-09-14 07:44:13 UTC
Version:            (using Devel)
Compiler:          g++ 4.3 
OS:                Linux
Installed from:    Compiled sources

RAM system monitor shows the amount of ram (TEXT) in MB rather than GB
eg:
6,000,000 MB shown instead of 6.0GB (6gb of ram here on this box) - could be user selectable? of automagically selected depending on the amount of ram? if ram > 1gb then show in MB else show ram demarkings in GB?

screenshot of what i mean:
http://img190.imageshack.us/img190/7446/snapshot1kj.jpg
Comment 1 Petri Damstén 2009-09-14 13:47:11 UTC
SVN commit 1023272 by pdamsten:

Use correct scale and unit.
BUG:207316

 M  +13 -6     ram.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1023272
Comment 2 SlashDevDsp 2009-09-21 11:03:55 UTC
The bug still happens, I still see 6,000,000 MB instead of 6 GB of ram. I am changing the status to 'unconfirmed'

svn-up about 2 hrs ago
svn details:
qt-copy: 1026223
kdelibs: 1026223
kdebase: 1026223
Comment 3 Petri Damstén 2009-09-30 10:20:24 UTC
SVN commit 1029566 by pdamsten:

What happened to commit 1023272? Committing again.
BUG:207316

 M  +13 -6     ram.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1029566
Comment 4 Christoph Feck 2009-09-30 10:40:24 UTC
It got lost during module move...
Comment 5 SlashDevDsp 2009-10-01 06:51:21 UTC
thanks for the fix, but would it be possible for it be scalable like the SM network plasmoid, where scale is 0.0KiB/s - 0.8KiB/s when there is little or no activity and the scale depends on the current network activity. or should I submit a separate bug report for that?
Comment 6 Petri Damstén 2009-10-01 08:11:49 UTC
Since memory usage won't vary as much as net it will probably show full usage most of the time if it's scaled. So I think it's better to show it against total memory.