! 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 !
Xfce panel saves -r argument in the session
Status:
RESOLVED: FIXED
Product:
Xfce4-panel
Component:
General

Comments

Description Yves-Alexis Perez editbugs 2009-06-12 05:58:44 CEST
Hi Nick,

I just found why, from time to time, my panel was restarting itself (as if it crashed, but without errors) at startup: I would start xfce, the panel starts, then restarts three or four time.

Now, I had the time to investigate a bit, and found:

corsac@hidalgo: grep xfce4-panel .cache/sessions/xfce4-session-hidalgo:0
Client0_CloneCommand=xfce4-panel,-r
Client0_Program=xfce4-panel
Client0_RestartCommand=xfce4-panel,-r,--sm-client-id,25f4e415e-d804-401c-8527-b7a77297f239
Client1_CloneCommand=xfce4-panel,-r
Client1_Program=xfce4-panel
Client1_RestartCommand=xfce4-panel,-r,--sm-client-id,20401d235-203a-4fce-a773-5fc7a0e92720
Legacy1_Command=xfce4-panel

I guess the fact that it's present twice is not good, not having it with the -r argument make things worse. I use xfce4-panel -r from time to time (for example to refresh an upgraded panel plugin), but I guess the -r shouldn't be saved in the session, as it doesn't make much sense.

Cheers and thanks,
--
Yves-Alexis
Comment 1 Nick Schermer editbugs 2009-06-12 07:49:17 CEST
O good catch.
Comment 2 Nick Schermer editbugs 2009-06-12 07:49:42 CEST
Whoop, wrong item.
Comment 3 Nick Schermer editbugs 2009-06-25 18:01:03 CEST
Created attachment 2420 
Don't append -r in the program command
Comment 4 Nick Schermer editbugs 2009-06-27 19:39:26 CEST
Patch applied in rev 30102 (trunk) and 30103 (xfce_4_6).

Bug #5454

Reported by:
Yves-Alexis Perez
Reported on: 2009-06-12
Last modified on: 2009-06-27

People

Assignee:
Nick Schermer
CC List:
0 users

Version

Attachments

Don't append -r in the program command (574 bytes, patch)
2009-06-25 18:01 CEST , Nick Schermer
no flags

Additional information