GNOME Bugzilla – Bug 657867
[regression] g-c-c runs, but with mostly blank window
Last modified: 2011-09-02 13:31:29 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(?).
What are the exact parameters you pass to configure for it?
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).
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
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.
I reverted the patch you mentioned in Comment 3. Now it works.
Did you make /opt/gnome a symlink to /opt/garnome-svn-3.1.1 ?
yes. That way I can switch versions without having to change environment variables like PATH.
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