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 657867 - [regression] g-c-c runs, but with mostly blank window
[regression] g-c-c runs, but with mostly blank window
Status: RESOLVED FIXED
Product: gnome-control-center
Classification: Core
Component: shell
git master
Other Linux
: Normal critical
: ---
Assigned To: Control-Center Maintainers
Control-Center Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-08-31 20:11 UTC by David Ronis
Modified: 2011-09-02 13:31 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Screenshot showing the problem (4.74 KB, image/png)
2011-08-31 20:11 UTC, David Ronis
Details

Description David Ronis 2011-08-31 20:11:40 UTC
Created attachment 195347 [details]
Screenshot showing the problem

As part of an upgraded to gnome 3.1.90 I rebuilt g-c-c (the git/master from today).   The build and install seemed to work, but running g-c-c from a console results in essentially blank window (I've attached a screenshot).  There is no console output.   Typing in the search window, changes things, basically, blanking out the "Personal" "Hardware" or "System" headings(?).
Comment 1 Bastien Nocera 2011-09-01 02:25:51 UTC
What are the exact parameters you pass to configure for it?
Comment 2 David Ronis 2011-09-01 03:36:35 UTC
From config.log:


./configure --prefix=/opt/garnome-svn-3.1.1 --exec_prefix=/opt/garnome-svn-3.1.1 --bindir=/opt/garnome-svn-3.1.1/bin --sbindir=/opt/garnome-svn-3.1.1/sbin --libexecdir=/opt/garnome-svn-3.1.1/libexec --datadir=/opt/garnome-svn-3.1.1/share --sysconfdir=/opt/garnome-svn-3.1.1/etc --sharedstatedir=/opt/garnome-svn-3.1.1/share --localstatedir=/opt/garnome-svn-3.1.1/var --libdir=/opt/garnome-svn-3.1.1/lib --infodir=/opt/garnome-svn-3.1.1/info --includedir=/opt/garnome-svn-3.1.1/include --mandir=/opt/garnome-svn-3.1.1/man --enable-gtk3 --enable-gstreamer=0.10 --enable-aboutme --disable-static --disable-maintainer-mode --with-html-dir=/opt/garnome-svn-3.1.1/share/gtk-doc/html --disable-gtk-doc --enable-debug --enable-tests


None of these have changed in a very long time and were the ones I used the last time g-c-c worked.

There is one thing that I've done for a while, related to bug 650342; namely  I've changed the 
/panels/info/Makefile so that the exit code for the test is ignored.   (This too is not particularly.   (This too is not particularly new).
Comment 3 Bastien Nocera 2011-09-01 14:55:39 UTC
Please give me the output of gnome-control-center with that patch applied:

diff --git a/shell/gnome-control-center.c b/shell/gnome-control-center.c
index 721dae2..d7dd14f 100644
--- a/shell/gnome-control-center.c
+++ b/shell/gnome-control-center.c
@@ -668,6 +668,7 @@ item_is_in_dir (GnomeControlCenter *shell,
 
   if (g_str_has_prefix (path, shell->priv->desktop_files_dir))
     return TRUE;
+  g_message ("'%s' ignored because it's not in '%s'", path, shell->priv->desktop_files_dir);
   return FALSE;
 }

And try to revert this patch as well:
http://git.gnome.org/browse/gnome-control-center/commit/shell/gnome-control-center.c?id=dde732b9a9f565969c2a3a1d51f17f072d19f0a1
Comment 4 David Ronis 2011-09-01 21:52:07 UTC
Here's the output with the g_message line added:

gnome-control-center 
** Message: '/opt/gnome/share/applications/gnome-background-panel.desktop' ignored because it's not in '/opt/garnome-svn-3.1.1/share/applications'
** Message: '/opt/gnome/share/applications/gnome-online-accounts-panel.desktop' ignored because it's not in '/opt/garnome-svn-3.1.1/share/applications'
** Message: '/opt/gnome/share/applications/gnome-region-panel.desktop' ignored because it's not in '/opt/garnome-svn-3.1.1/share/applications'
** Message: '/opt/gnome/share/applications/gnome-screen-panel.desktop' ignored because it's not in '/opt/garnome-svn-3.1.1/share/applications'
** Message: '/opt/gnome/share/applications/gnome-color-panel.desktop' ignored because it's not in '/opt/garnome-svn-3.1.1/share/applications'
** Message: '/opt/gnome/share/applications/gnome-display-panel.desktop' ignored because it's not in '/opt/garnome-svn-3.1.1/share/applications'
** Message: '/opt/gnome/share/applications/gnome-keyboard-panel.desktop' ignored because it's not in '/opt/garnome-svn-3.1.1/share/applications'
** Message: '/opt/gnome/share/applications/gnome-mouse-panel.desktop' ignored because it's not in '/opt/garnome-svn-3.1.1/share/applications'
** Message: '/opt/gnome/share/applications/gnome-power-panel.desktop' ignored because it's not in '/opt/garnome-svn-3.1.1/share/applications'
** Message: '/opt/gnome/share/applications/gnome-printers-panel.desktop' ignored because it's not in '/opt/garnome-svn-3.1.1/share/applications'
** Message: '/opt/gnome/share/applications/gnome-media-panel.desktop' ignored because it's not in '/opt/garnome-svn-3.1.1/share/applications'
** Message: '/opt/gnome/share/applications/gnome-sound-panel.desktop' ignored because it's not in '/opt/garnome-svn-3.1.1/share/applications'
** Message: '/opt/gnome/share/applications/gnome-wacom-panel.desktop' ignored because it's not in '/opt/garnome-svn-3.1.1/share/applications'
** Message: '/opt/gnome/share/applications/gnome-datetime-panel.desktop' ignored because it's not in '/opt/garnome-svn-3.1.1/share/applications'
** Message: '/opt/gnome/share/applications/gnome-info-panel.desktop' ignored because it's not in '/opt/garnome-svn-3.1.1/share/applications'
** Message: '/opt/gnome/share/applications/gnome-universal-access-panel.desktop' ignored because it's not in '/opt/garnome-svn-3.1.1/share/applications'
** Message: '/opt/gnome/share/applications/gnome-user-accounts-panel.desktop' ignored because it's not in '/opt/garnome-svn-3.1.1/share/applications'
libcogl.so.1: cannot open shared object file: No such file or directory
Failed to load module: /opt/garnome-svn-3.1.1/lib/control-center-1/panels/libuser-accounts.so

I'm a bit surprised by the last 2 lines and I'll track them down later.

I'm going to revert the patch you mentioned and rebuild.
Comment 5 David Ronis 2011-09-01 22:07:29 UTC
I reverted the patch you mentioned in Comment 3.  Now it works.
Comment 6 Bastien Nocera 2011-09-02 08:59:25 UTC
Did you make /opt/gnome a symlink to /opt/garnome-svn-3.1.1 ?
Comment 7 David Ronis 2011-09-02 12:32:38 UTC
yes.   That way I can switch versions without having to change environment variables like PATH.
Comment 8 Bastien Nocera 2011-09-02 13:31:22 UTC
commit fed883bbec403dfc27526e3ca624db8c5e71f6a2
Author: Bastien Nocera <hadess@hadess.net>
Date:   Fri Sep 2 14:24:25 2011 +0100

    shell: Limit reading from our own apps directory
    
    https://bugzilla.gnome.org/show_bug.cgi?id=657867

commit 22759b211610aeb627a055daac3d019c2fe2d5a2
Author: Bastien Nocera <hadess@hadess.net>
Date:   Fri Sep 2 14:28:14 2011 +0100

    Revert "shell: Only load desktop files from our dirs"
    
    This reverts commit dde732b9a9f565969c2a3a1d51f17f072d19f0a1.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=657867