[Pkg-xfce-devel] Bug#646981: Bug#646981: xfce4-panel: panel loses settings

Ian Sullivan sullivan at softwarefreedom.org
Fri Nov 4 19:51:42 UTC 2011


On 10/29/2011 06:52 AM, Lionel Le Folgoc wrote:
> Also, is there any warning/error/critical message related to xfce4-panel
> in ~/.xsession-errors ?

Sadly not.

There is a related problem with panel crashing that I just reproduced on
a clean test user and that at least produces some capturable errors when
launching xfce4-panel from the terminal. That error information is
attached as "panel-error-from-terminal".

To explain what is happening there let me lay out the steps to reproduce
the configuration described in the initial report.

1) (from the console) completely move aside my user's
~/.config/xfce4/xfconf directory
2) (from the console) completely remove my user's ~/.cache/sessions
directory
3) log in
4) select "Use default config" from the panel first run dialogue box

The resulting xfce4-panel xml file is attached as
"xfce4-panel-From-Empty-XFconf-Selecting-Default-Config.xml" This file
is different from the one at /etc/xdg/xfce4/panel/default.xml in two
ways. First, panel 0 and panel 1 are listed in reverse order when the
config is moved to my user and second, the entire contents of panel 0's
config have been replaced with
"""
<property name="panel-0" type="empty">
<property name="position" type="string" value="p=0;x=100;y=100"/>
</property>
"""

5) (from the console) replace my test user's xfce4-panel config file
with the one created for my user in step #4
6) (from the console) completely remove my test user's .cache/sessions
7) log in as my test user

At this point my test user has the same configuration-less single
floating panel as my user.

This floating panel regularly crashes if moved, especially to the screen
edges. So to generate the panel error message attached, I simply move
the floating panel, watch it crash, then launch it again from the
terminal and move this new panel, again watching it crash. That is where
the contents of "panel-error-from-terminal" come from.

If I remove my user from the equation everything works fine. I can
clobber the test user's xfconf files and session cache, log in, and
selecting the "default config" corectly copies over the deault settings.
Those settings diff cleanly against the one in /etc and create normally
populated and positioned panels for the test user.

So something outside of my user's .xfconf or session cache is causing
the default panel settings to be mangled when moved over. I'm not quite
sure where to look for that though.

-Ian
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: panel-error-from-terminal
URL: <http://lists.alioth.debian.org/pipermail/pkg-xfce-devel/attachments/20111104/e6067265/attachment-0001.ksh>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xfce4-panel-From-Empty-XFconf-Selecting-Default-Config.xml
Type: text/xml
Size: 2425 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-xfce-devel/attachments/20111104/e6067265/attachment-0001.xml>


More information about the Pkg-xfce-devel mailing list