! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
panel on 2nd pipe does not save settings on logout
Status:
RESOLVED: FIXED
Product:
Xfce4-panel

Comments

Description Greg Edwards 2005-08-29 14:33:02 CEST
Running xfce on a 2 pipe display, e.g.

edwardsg  5279  5043  0 08:59 ?        00:00:00 /usr/local/bin/xfce4-session
edwardsg  5287     1  0 08:59 ?        00:00:00 xfce-mcs-manager
edwardsg  5290     1  0 08:59 ?        00:00:00 xfwm4 --sm-client-id
1180a2e804000112508761100000156220000 --display :0.0
edwardsg  5292     1  0 08:59 ?        00:00:00 xftaskbar4 --sm-client-id
1180a2e804000112508761200000156220004 --display :0.1
edwardsg  5294     1  0 08:59 ?        00:00:00 xftaskbar4 --sm-client-id
1180a2e804000112508761200000156220003 --display :0.0
edwardsg  5296     1  0 08:59 ?        00:00:01 xfdesktop --sm-client-id
1180a2e804000112508761300000156220005 --display :0.0
edwardsg  5298     1  0 08:59 ?        00:00:00 xfce4-panel --sm-client-id
1180a2e804000112508761200000156220002 --display :0.1
edwardsg  5304     1  0 08:59 ?        00:00:00 xfce4-panel --sm-client-id
1180a2e804000112508761200000156220001 --display :0.0

The panel on the 2nd pipe does not save its settings across logouts.  Each
time I relogin the panel on the 2nd display has the default settings/icons/etc.

The panel on the first pipe works fine.

Reproducible: Always
Steps to Reproduce:
1. Run xfce on 2 pipe display (each pipe is separate - not a combined screen)
2. Make changes to the panel on the 2nd pipe
3. Logout and log back in.  The changes to the panel on the first pipe are
retained.  Changes to the panel on the 2nd pipe are lost, and you are given the
default panel each time.



Expected Results:  
Each panel should have retained its settings across logouts/logins.
Comment 1 Jasper Huijsmans editbugs 2005-09-09 18:31:32 CEST
Unfortunately, I have know way to test this. I can't immediately see anything
wrong with the code.

What does 'echo $DISPLAY' give you? In a terminal started from the panel on the
second screen.
Comment 2 Greg Edwards 2005-09-12 20:10:07 CEST
First pipe is:

$ echo $DISPLAY
:0.0


Second pipe is:

$ echo $DISPLAY
:0.1


I believe top of tree xorg has support for multiple gfx pipes in this kind of
configuration, if that helps.

Other parts of xfce handle the multiple screens ok.  For instance, starting up 
the "Desktop Settings" gui I have tabs for both "Screen 0" and "Screen 1", and
can control them independently.
Comment 3 Greg Edwards 2005-10-10 13:17:08 CEST
Here's the relevant hunk of xorg.conf to show you how the screens area
actually set up:

Section "Screen"
  DefaultDepth 24
  SubSection "Display"
    Depth      24
    Modes      "1600x1200"
  EndSubSection
  Device       "Device[0]"
  Identifier   "Screen[0]"
  Monitor      "Monitor[0]"
EndSection

Section "Screen"
  DefaultDepth 24
  SubSection "Display"
    Depth      24
    Modes      "1600x1200"
  EndSubSection
  Device       "Device[1]"
  Identifier   "Screen[1]"
  Monitor      "Monitor[1]"
EndSection

Section "Device"
  BoardName    "RV350 AT"
  BusID        "1281:0:0"
  Driver       "radeon"
  Identifier   "Device[0]"
  VendorName   "ATI"
EndSection

Section "Device"
  BoardName    "RV350 AT"
  BusID        "1537:0:0"
  Driver       "radeon"
  Identifier   "Device[1]"
  VendorName   "ATI"
EndSection

Section "ServerLayout"
  Identifier   "Layout[all]"
  InputDevice  "Keyboard[0]" "CoreKeyboard"
  InputDevice  "Mouse[1]" "CorePointer"
  Option       "Clone" "off"
  Option       "Xinerama" "off"
  Screen       "Screen[0]"
  Screen       "Screen[1]" RightOf "Screen[0]"
EndSection
Comment 4 Sven Schumacher 2005-11-04 09:32:35 CET
I had the same problem. 2 screens and only 1 panel was saved.
I had a look to the files in ~/.config/xfce4/panel/
contents.xml           <- saves the settings for the first panel
contents.xml.active    <- holds the current config for the first panel
contents.xml.active.1  <- holds the current config for the second panel
contents.xml.bak       <- a backup file unintressting

Now I made a change to the second panel; the contents.xml.active.1 was changed.
After this I've copied the contents.xml.active.1 to contents.xml.1 and restarted
the panel und my changes were saved.
I hope this helps.
Comment 5 Jasper Huijsmans editbugs 2005-12-07 10:51:16 CET
(In reply to comment #4)
> I had the same problem. 2 screens and only 1 panel was saved.
> I had a look to the files in ~/.config/xfce4/panel/
> contents.xml           <- saves the settings for the first panel
> contents.xml.active    <- holds the current config for the first panel
> contents.xml.active.1  <- holds the current config for the second panel
> contents.xml.bak       <- a backup file unintressting
> 
> Now I made a change to the second panel; the contents.xml.active.1 was changed.
> After this I've copied the contents.xml.active.1 to contents.xml.1 and restarted
> the panel und my changes were saved.
> I hope this helps.

Thanks, that should help a lot. Looking at the code I don't really understand
how this could happen, but hopefully I can find out. From what I can see it
should have been 'contents.xml.1.active' not 'contents.xml.active.1'. 

Comment 6 Jasper Huijsmans editbugs 2005-12-07 11:45:06 CET
Could you try this version:
http://mocha.xfce.org/archive/test/xfce4-panel-4.2.3.1.tar.gz

I think that should fix the issue.
Comment 7 Greg Edwards 2005-12-07 15:13:12 CET
yes, this works fine.  Thanks!
Comment 8 Jasper Huijsmans editbugs 2005-12-20 10:00:31 CET
Ok resolving this bug. Thanks. 

I don't know if there will be an official release, but that package will remain
on the server at least.

Bug #1133

Reported by:
Greg Edwards
Reported on: 2005-08-29
Last modified on: 2010-11-20

People

Assignee:
Nick Schermer
CC List:
0 users

Version

Attachments

Additional information