GNOME Bugzilla – Bug 768063
Some columns cannot be displayed
Last modified: 2017-04-17 19:27:58 UTC
The following columns cannot be displayed: Virtual Memory. Shared Memory. Started. There may be others. gnome-system-monitor outputs the following in a terminal when I try to enable those columns: (gnome-system-monitor:25506): Gtk-WARNING **: Negative content width -12 (allocation 1, extents 6x7) while allocating gadget (node button, owner GtkButton) (gnome-system-monitor:25506): Gtk-WARNING **: Negative content width -12 (allocation 1, extents 6x7) while allocating gadget (node button, owner GtkButton) (gnome-system-monitor:25506): Gtk-WARNING **: Negative content width -12 (allocation 1, extents 6x7) while allocating gadget (node button, owner GtkButton) (gnome-system-monitor:25506): Gtk-WARNING **: Negative content width -12 (allocation 1, extents 6x7) while allocating gadget (node button, owner GtkButton) (gnome-system-monitor:25506): Gtk-WARNING **: Negative content width -12 (allocation 1, extents 6x7) while allocating gadget (node button, owner GtkButton) (gnome-system-monitor:25506): Gtk-WARNING **: Negative content width -12 (allocation 1, extents 6x7) while allocating gadget (node button, owner GtkButton) Then disabling them (since they don't show) says: (gnome-system-monitor:25506): GLib-CRITICAL **: Source ID 11517 was not found when attempting to remove it
I am using gnome 3.20 / gtk+ 3.20.6 but let me know please if there is any other information I can provide. Thank you.
It looks like the default width was 0 and so it won't appear. gsettings set org.gnome.gnome-system-monitor.proctree col-10-width 100 fixed it. Perhaps the default width in the schema should be changed to a non zero value?
Created attachment 331447 [details] [review] Fix default width Currently the default width of those three columns is 0 and so they don't appear. Since they can't appear, they cannot be resized as well. This patch adjusts the default width of those three columns to 50.
Hi, I think the https://bugzilla.gnome.org/show_bug.cgi?id=766352 should be merge here because it seems to be related. If I toggle the options below: - Virtual Memory - Shared Memory - X Server Memory - Started - Device I can't see any action, those tabs are never visible ... I am using 3.20.1 version. thanks regards Pedro Beja
*** Bug 766352 has been marked as a duplicate of this bug. ***
(In reply to Pedro Beja from comment #4) I'm not sure what you mean by "Device" column, I don't see any column with a similar name, and there are no columns left with default width set to 0, so I am leaning towards marking this as fixed.
Review of attachment 331447 [details] [review]: Thanks for your contribution, I've pushed it to master.
Hi Robert, the Device column is Preferences -> File Systems -> File system information shown in list: there is a "Device" column. thanks regards Pedro Beja
(In reply to Pedro Beja from comment #8) > the Device column is Preferences -> File Systems -> File system information > shown in list: there is a "Device" column. > Ok, thanks, I was looking on the processes tab :)
This problem has been fixed in the unstable development version. The fix will be available in the next major software release. You may need to upgrade your Linux distribution to obtain that newer version.
the 50 pixel defaults looks a bit tight, not enough space for the title and often neither for the value, why not rather going to 80 to 90?
(In reply to Sebastien Bacher from comment #11) > the 50 pixel defaults looks a bit tight, not enough space for the title and > often neither for the value, why not rather going to 80 to 90? Agreed, I have set the Memory columns to 80, but left the 50 px for the others, will update that.
Somehow I'm still seeing this in 3.22.2. Was it fixed in this series?