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 768063 - Some columns cannot be displayed
Some columns cannot be displayed
Status: RESOLVED FIXED
Product: system-monitor
Classification: Core
Component: process list
3.20.x
Other Linux
: Normal normal
: ---
Assigned To: System-monitor maintainers
System-monitor maintainers
: 766352 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2016-06-26 10:36 UTC by Hussam Al-Tayeb
Modified: 2017-04-17 19:27 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Fix default width (877 bytes, patch)
2016-07-13 20:12 UTC, Hussam Al-Tayeb
committed Details | Review

Description Hussam Al-Tayeb 2016-06-26 10:36:43 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
Comment 1 Hussam Al-Tayeb 2016-06-26 10:38:00 UTC
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.
Comment 2 Hussam Al-Tayeb 2016-06-28 00:07:33 UTC
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?
Comment 3 Hussam Al-Tayeb 2016-07-13 20:12:52 UTC
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.
Comment 4 Pedro Beja 2016-08-09 18:25:21 UTC
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
Comment 5 Robert Roth 2016-08-10 00:57:16 UTC
*** Bug 766352 has been marked as a duplicate of this bug. ***
Comment 6 Robert Roth 2016-08-10 01:09:40 UTC
(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.
Comment 7 Robert Roth 2016-08-10 01:10:32 UTC
Review of attachment 331447 [details] [review]:

Thanks for your contribution, I've pushed it to master.
Comment 8 Pedro Beja 2016-08-10 11:51:56 UTC
Hi Robert,

the Device column is Preferences -> File Systems -> File system information shown in list: there is a "Device" column.

thanks
regards
Pedro Beja
Comment 9 Robert Roth 2016-08-10 11:59:26 UTC
(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 :)
Comment 10 Robert Roth 2016-08-15 19:36:23 UTC
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.
Comment 11 Sebastien Bacher 2016-08-17 14:44:01 UTC
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?
Comment 12 Robert Roth 2016-08-18 08:45:12 UTC
(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.
Comment 13 Jean-François Fortin Tam 2017-04-17 19:27:58 UTC
Somehow I'm still seeing this in 3.22.2. Was it fixed in this series?