After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 324048 - Misleading tooltip for memory
Misleading tooltip for memory
Status: RESOLVED FIXED
Product: gnome-applets
Classification: Other
Component: multiload
2.13.x
Other Linux
: Normal enhancement
: ---
Assigned To: gnome-applets Maintainers
gnome-applets Maintainers
: 324769 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2005-12-14 10:03 UTC by Benoît Dejean
Modified: 2010-01-24 01:05 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch (2.36 KB, patch)
2005-12-28 13:44 UTC, Benoît Dejean
none Details | Review
same patch + missing semicolon (2.36 KB, patch)
2005-12-29 08:20 UTC, Benoît Dejean
committed Details | Review

Description Benoît Dejean 2005-12-14 10:03:19 UTC
Reporter : dh@mailempfang.de (Daniel Holbach)

Version details: 2.13.2
Distribution/Version: Ubuntu Dapper

Forwarded from: http://bugzilla.ubuntu.com/show_bug.cgi?id=20973
Forwarder from: #324043

[snip]

The memory usage panel is also misleading in that if you hover the cursor over
it, right now mine says "95% in use, of which 35% is cache", when really, only
50% of my memory is really "used", 35% is cache, and the rest is buffers, which
is just another form of cache.  This really should say 50% of memory is in use,
or at least say that 50% is used for cache ( the 35% in cache plus 15% in
buffers ).  This is most noticiable when updatedb runs, the memory usage graph
steadily climbs when it's just the buffer cache that is growing.  Also by
default, the panel colors in buffers and cache memory on the graph so it looks
like it is in use.  This memory is really free so the default should be to not
color in that area but leave it black so it looks like it is free.  A user who
does not know better will look at the default graph and wonder why one earth
100% of their memory is used, and think ubuntu sucks, when half that memory is
really free.
Comment 1 Benoît Dejean 2005-12-22 08:29:34 UTC
*** Bug 324769 has been marked as a duplicate of this bug. ***
Comment 2 Benoît Dejean 2005-12-27 16:26:17 UTC
What about :
"Memory:
???% is user memory
???% is cache"

English is not my mother tongue, i'd like some help :)
Then i'll make a patch
Comment 3 Benoît Dejean 2005-12-28 13:44:40 UTC
Created attachment 56466 [details] [review]
patch

Should work :) Also cleaned some stuff.
Not tested, not even compiled. I'll try to compile this code tonight when i'll be at home.
Comment 4 Benoît Dejean 2005-12-29 08:20:42 UTC
Created attachment 56500 [details] [review]
same patch + missing semicolon

I've compiled and tested it again gnome-applets 2.13.1 (tarball) and it's fine.
Comment 5 Danielle Madeley 2006-01-06 03:49:11 UTC
Benoit, is "user memory" the best way to describe this?

Is that memory in use by the user, or memory in use by userspace?

Perhaps something like:

  Memory:
    xx% in use by programs,
    xx% in use as cache
Comment 6 Benoît Dejean 2006-01-06 08:34:28 UTC
Yes i think user memory is the best way to describe this. Caches and buffers belong to the kernel, but they may be shared with userspace (mmap) (on linux at least). system-monitor uses 'user memory'. KDE ksysguard uses "Applications Memory". From a technical point of view, i think "user memory" is fine. But one who shares his system with other users may understand that HE is using "user memory" ?
Comment 7 Danielle Madeley 2006-01-07 15:14:19 UTC
I think it is much too unclear, is it memory used by userspace, or memory used by a user?
Comment 8 Benoît Dejean 2006-01-09 08:52:42 UTC
let's say userspace.
Comment 9 Danielle Madeley 2006-01-15 10:52:36 UTC
Benoit, did you decide on a final wording? Once you've done so, did you want to commit the patch?
Comment 10 Benoît Dejean 2006-01-15 15:20:14 UTC
No i didn't.

 Memory:
    xx% in use by programs,
    xx% in use as cache

seems fine.

programs/applications/user means the same. So, if you're OK, please commit my patch with " Memory:
    xx% in use by programs,
    xx% in use as cache"
Comment 11 Danielle Madeley 2006-01-15 23:31:02 UTC
I'll do it this evening, before I roll a release, if you don't do it before hand.
Comment 12 Danielle Madeley 2006-01-16 13:06:05 UTC
2006-01-16  Davyd Madeley  <davyd@madeley.id.au>

        * main.c: fix misleading tooltip for memory. Patch from
          Benoît Dejean <benoit@placenet.org>. Closes #324048.