Bug#313314: gnome-system-monitor: bug in rearranging columns code

Carsten Luedtke Carsten Luedtke <acid_man@gmx.net>, 313314@bugs.debian.org
Mon, 13 Jun 2005 03:12:44 +0200


Package: gnome-system-monitor
Version: 2.10.1-2
Severity: normal

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

First to say, g-s-m still doesn't save custom arranged columns state. 
That's not a problem for me. The real problem is that it may alter the 
configuration for process fields in configuration under some 
circumstances. Let me explain this with an example:

In the following example i will show my normal config (figur-1):
[x] process name
[x] user
[x] status
[x] memory
[ ] vm size
[ ] resident memory
[ ] shared memory
[ ] rss memory
[ ] x server memory
[x] % cpu
[x] nice
[x] id
[ ] security context
[x] arguments

If i swap "status" with "memory", close and reopen g-s-m, all is fine. 
But if there is an unchecked option between swaped columns, the config 
will be altered. Example: Lets say i swap "% cpu" with "memory" (from 
figur-1), close and reopen g-s-m, then "% cpu" isn't there, instead of 
it i see "vm size" now, which wasn't configured for visibility (figur-2).

[x] process name
[x] user
[x] status
[x] memory
[x] vm size
[ ] resident memory
[ ] shared memory
[ ] rss memory
[ ] x server memory
[ ] % cpu
[x] nice
[x] id
[ ] security context
[x] arguments

To solve this, one could make a key in gconf where a list, of  
which columns are enabled and in which order they are, is stored.
This shouldn't need a new build-dependency, we already depend on 
libgconf2-4. 

Cheers!
Carsten Luedtke

- -- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.11.4
Locale: LANG=de_DE.UTF-8@euro, LC_CTYPE=de_DE.UTF-8@euro (charmap=UTF-8)

Versions of packages gnome-system-monitor depends on:
ii  libart-2.0-2             2.3.17-1        Library of functions for 2D graphi
ii  libatk1.0-0              1.10.1-2        The ATK accessibility toolkit
ii  libbonobo2-0             2.8.1-2         Bonobo CORBA interfaces library
ii  libbonoboui2-0           2.8.1-2         The Bonobo UI library
ii  libc6                    2.3.2.ds1-22    GNU C Library: Shared libraries an
ii  libgconf2-4              2.10.0-2        GNOME configuration database syste
ii  libglib2.0-0             2.6.5-1         The GLib library of C routines
ii  libgnome2-0              2.10.0-3        The GNOME 2 library - runtime file
ii  libgnomecanvas2-0        2.10.2-2        A powerful object-oriented display
ii  libgnomeui-0             2.10.0-2        The GNOME 2 libraries (User Interf
ii  libgnomevfs2-0           2.10.1-4        The GNOME virtual file-system libr
ii  libgtk2.0-0              2.6.7-2         The GTK+ graphical user interface 
ii  libgtop2-5               2.10.1-2        Libraries for gtop system monitori
ii  libice6                  4.3.0.dfsg.1-14 Inter-Client Exchange library
ii  liborbit2                1:2.12.2-1      libraries for ORBit2 - a CORBA ORB
ii  libpango1.0-0            1.8.1-1         Layout and rendering of internatio
ii  libpopt0                 1.7-5           lib for parsing cmdline parameters
ii  libsm6                   4.3.0.dfsg.1-14 X Window System Session Management
ii  libwnck16                2.10.0-2        Window Navigator Construction Kit 
ii  libxml2                  2.6.16-7        GNOME XML library
ii  scrollkeeper             0.3.14-10       A free electronic cataloging syste
ii  xlibs                    4.3.0.dfsg.1-14 X Keyboard Extension (XKB) configu
ii  zlib1g                   1:1.2.2-4       compression library - runtime

- -- no debconf information

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFCrN2MK569vX68PzgRAnr/AKC7KDHxsGHt3UCnSbczbOkszUcQAQCguf1S
WmTO+hN1xs791eL9GbqVHOI=
=Cq9t
-----END PGP SIGNATURE-----