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 109374 - Need to create a default panel if no panels are found in the config
Need to create a default panel if no panels are found in the config
Status: RESOLVED FIXED
Product: gnome-panel
Classification: Other
Component: panel
2.3.x
Other Linux
: Normal normal
: ---
Assigned To: Panel Maintainers
Panel Maintainers
new-toplevel-todo
: 113674 115754 116436 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2003-03-28 02:12 UTC by Rodd Clarkson
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.3/2.4



Description Rodd Clarkson 2003-03-28 02:12:36 UTC
Using garnome-0.22.0 I upgraded to gnome-panel-2.3.0, gnome-session-2.3.0
and gnome-desktop-2.3.0 (along with all the related requirements like
GConf-2.3.0 and ORBit-2.7.0).

Gnome started fine, and gnome-panel was running, but no panel showed.

I even deleted .gconf and .gconfd and ran gconftool-[1|2] --shutdown before
deleting these.

If I tried to run gnome-panel I was advised that it was already running.

It wasn't crashing and restarting either.
Comment 1 Andrew W. Nosenko 2003-04-14 17:10:45 UTC
Just for your information:
I have the same problem, but not with GARNOME build but with
Slackware-9.0 upgraded (by self) to the gnome-{session,desctop,panel}
+ orbit + gconf + etc to the 2.3.0.

Panel shows if previous (from gnome-panel-2.2.x) gconf entries are
exists, but fresh install does't work (panel running, but doesn't
exists  on screen).

If you need additional info -- welcome.
Comment 2 Artur Flinta 2003-05-09 10:07:44 UTC
This bug still exist with latest gnome 2.3.1 packages
Comment 3 Andrew W. Nosenko 2003-06-09 09:19:16 UTC
Checkd for gnome-panel-2.3.2.1 -- bug still exists.

To gnome-panel-maint@bugzilla.gnome.org:
Is someone care about usability of GNOME in the real live????  Neither
ACK not NACK nor any other activity around this bug!  This bug
prevents using of GNOME by "fresh" users -- I'm enforced to copy my
panle-related settings to the every new user of my system that is not
goog (more right -- very poor!)
Comment 4 Mark McLoughlin 2003-06-09 14:07:55 UTC
Does

gconftool-2 -R /apps/panel/default_setup

return anything?
Comment 5 Andrew W. Nosenko 2003-06-09 19:51:14 UTC
gconftool-2 -R /apps/panel/default_setup

returns nothing uder both my (working) settings
and under fresh/new user.
Comment 6 Rodd Clarkson 2003-06-10 02:41:41 UTC
awn,

I'm going to take a moment to stand up for the developers on this.  I
appreciate that you might be frustrated with this issue in
gnome-panel, but remember that this version is a development release
and as such you shouldn't expect it to work.

Gnome users who want a stable, working desktop are not recommended to
use this version and as such I think you've been a little harsh on the
guys that work on gnome-panel.

Rodd
Comment 7 Mark McLoughlin 2003-06-10 10:47:56 UTC
What you are seeing is an installation problem of some sort. When you
do a make install the panel should be installing the default panel
setup using a command similar to

  GCONF_CONFIG_SOURCE=xml:/etc/gconf/gconf.xml.defaults gconftool-2
--load panel-default-setup.entries

Could you try and figure out why thats not working for you ?

Comment 8 Andrew W. Nosenko 2003-06-17 14:35:44 UTC
Not excactly, but following command helps:

    gconftool-2 --direct
--config-source=xml::/etc/gconf/gconf.xml.defaults --load
panel-default-setup.entries

Note about `--direct'.

How about note this (needing to load panel-default-setup.entries) in
the README file?

Why just loading of default entries from Makefile is not enough:
because this not work for `make install DESTDIR=...' case.
About needing to register .schemas by hand know if not all then neary
to all because this is common problem for all gnome applications.  But
default entries beside schemas...
Comment 9 Mark McLoughlin 2003-06-18 11:55:00 UTC
You installed using DESTDIR ? If so, then yes this is expected
behaviour. Just like schemas these have to be installed in postinstall
scripts in packages ...

However, there is the problem that we seem to have lost the code to
create a default panel when no panels are found in the configuration.
That needs to be brought back.
Comment 10 Mark McLoughlin 2003-06-23 08:56:36 UTC
*** Bug 115754 has been marked as a duplicate of this bug. ***
Comment 11 Mark McLoughlin 2003-07-02 08:45:36 UTC
Fixed on HEAD:

2003-07-01  Mark McLoughlin  <mark@skynet.ie>
                                                                     
                                                       
        Fix bug #109374. When no panel's are found in the default
        configuration, show a fallback panel so we don't end up
        with a running panel process and no panels.
                                                                     
                                                       
        This seems to be getting reported a fair bit, so I reckon
        packagers mustn't yet have twigged about installing the
        default configuration using gconftool-2 --load. Your post
        install magic should be something like this:
                                                                     
                                                       
        gconftool-2 --direct
                    --config-source=$GCONF_CONFIG_SOURCE
                    --load
%{_sysconfdir}/gconf/schemas/panel-default-setup.entries
                                                                     
                                                       
        * panel-profile.c:
        (panel_profile_find_new_id): assert that we always return
        an id.
        (panel_profile_copy_defaults_for_screen): fix using the
        wrong key for the schemas location.
        (panel_profile_create_fallback_toplevel_list): impl returning
        a list of fallback toplevels. Currently just a single toplevel
        according to the schemas defaults with no objects.
        (panel_profile_load_defaults_on_screen): if we can't find any
        toplevels in the default configuration, load a fallback panel.
        (panel_profile_ensure_toplevel_per_screen): kill FIXME.
                                                                     
                                                       
Comment 12 Mark McLoughlin 2003-07-02 08:52:51 UTC
*** Bug 113674 has been marked as a duplicate of this bug. ***
Comment 13 Mark McLoughlin 2003-07-02 08:55:35 UTC
*** Bug 116436 has been marked as a duplicate of this bug. ***