! 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 4.8 from Fedora Core 17 Xfce spin won't save sessions of LibreOffice


Description Stephen Tashiro 2012-06-03 07:32:51 CEST
In Fedora Core 17 (the 64 bit Xfce spin) Xfce 4.8 won't save sessions of LibreOffice writer even though the "Automatically save session on logout" box is checked in Applications Menu->Seettings->Session and Startup -General

I speculate that the command to restart Libreoffice is formed with bad syntax based on the following exercpt from the beginning of an ~.xsession-errors file

/usr/bin/startxfce4: X server already running on display :0
ssh-agent is already running; starting gpg-agent without ssh support
xfdesktop[3179]: starting up
Unknown option -session=260eae897-c457-4816-9ab7-8f8a47fa7d85
Run 'soffice --help' to see a full list of available command line options.
Warning: -nologo is deprecated.  Use --nologo instead.
xfce4-settings-helper: Another instance is already running. Leaving...

** (process:3206): WARNING **: Trying to register gtype 'GMountMountFlags' as enum when in fact it is of type 'GFlags'

** (process:3206): WARNING **: Trying to register gtype 'GDriveStartFlags' as enum when in fact it is of type 'GFlags'

** (process:3206): WARNING **: Trying to register gtype 'GSocketMsgFlags' as enum when in fact it is of type 'GFlags'

I don't know what software is responsible for forming the command "soffice ...", but I've chosen to report the bug to xfce.  When run from a terminal, the command 


does start LibreOffice.  The message 

Run 'soffice --help' to see a full list of available command line options.

is the message produced when the soffice command is used with unrecognized options.

On a installation of FC 17 from the 64 bit LifeCD spin and updated, I have:
 3.3.7-1.fc17.x86_64 #1 SMP Mon May 21 22:32:19 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

This bug is reproducible as follows.

Check the box to"Automatically save sessions on logout" on the screen Applications Menu->Seettings->Session and Startup - General

Close all applications whose icons appear on the top bar between the logout icon on the left and the terminal window icon on the right)
Open a single terminal from Applications Menu->System->Terminal
Open a single file manager using the icon at the bottom of the desktop
Open LibreOffice writer from Applications Menu->Office->LibreOffice writer
Create a document with LibreOffice writer.  Save the document.
Leave the window of LibreOffice writer open.
Log out.
Log in again.  The terminal and filemanager will appear but the LibreOffice window will not.
Comment 1 Jérôme Guelfucci editbugs 2012-08-30 23:05:56 CEST
This is likely to be a duplicate of bug #5379 which is fixed in the git master branch. Please reopen if you can still reproduce.
Comment 2 Jérôme Guelfucci editbugs 2012-08-30 23:07:07 CEST
Marking as duplicate.

*** This bug has been marked as a duplicate of bug 5379 ***
Comment 3 Dimitar Zhekov 2012-09-01 12:08:57 CEST
"Unknown option -session=260eae897-c457-4816-9ab7-8f8a47fa7d85
Run 'soffice --help' to see a full list of available command line options."

Each application is responsible for creating it's own restart command.
The session manager runs these commands 1:1 on login.

I have never seen xfsm storing a restart command improperly, and all xfce programs use ---sm-client-id, not -session. So chances are than LibreOffice creates a command it can't parse, for example -session instead of --session.

This bug does not seem as duplicate of #5379 to me, but I think reporting it to the LibreOffice developers is more reasonable than re-opening it here.
Comment 4 Jeff zeleny 2019-10-06 10:57:38 CEST
Created attachment 9087 
Backend use

Need software
Comment 5 Jeff zeleny 2019-10-06 10:58:29 CEST
Need plug in

Bug #8981

Reported by:
Stephen Tashiro
Reported on: 2012-06-03
Last modified on: 2019-10-06


Xfce Bug Triage
CC List:
6 users



Backend use (25 bytes, patch)
2019-10-06 10:57 CEST , Jeff zeleny
no flags

Additional information