Apache OpenOffice (AOO) Bugzilla – Issue 59081
session management broken
Last modified: 2006-02-17 09:19:08 UTC
session management does not work anymore in m143 (don't know when it stopped to work exactly). The process starts up again on login, but no documents are shown. reproduction: - open one or more documents (i tried with one unmodified and one new modified writer document) - logout (make sure that session management is enabled on the desktop) - login => expected result: office starts up and shows the same documents as on logout => obeserved result: office starts up (you see the intro bitmap) and then lies dormant with not window shown at all. note: please do not try this with the kde plugin, there is an issue preventing session management from working with it (fixed in CWS vcl49). E.g. add "export SAL_USE_VCLPLUGIN=gen" to the soffice script. If session management is not your domain anymore, my apologies and please send this one on to the correct developer.
added keyword regression
Andreas, please take over...
The probem behind: some stacktraces showed us, that it's possible that AutoSvae/ SessionSave runs into trouble by accessing disposed documents. That's why the core implementation started listening for disposing() events on its documents. But then session save was broken. Because: session save stores all documents ... and afterwards it tried to close all these documents. During closing it get's disposing(9 events ... and deregister all these documents from the configuration again. The result: a filled configuration for session save will be cleared by session save itself .-) Now this disposing() listening was removed again. Because every document must send an OnUnload event in case it's closed/disposed/or removed otherwise. So disposed documents shouldnt occure. Otherwise it's not a bug of AutoSave ... then it's a bug inside the document implementation.
AS->OF: Please verify this task on the cws[fwk29]. THX. re-open issue and reassign to of@openoffice.org
reassign to of@openoffice.org
reset resolution to FIXED
of @ tm. Can you please take over? re-open issue and reassign to tm@openoffice.org
reassign to tm@openoffice.org
Checked and verified in cws fwk29 -> OK !
Verified in 680m1 build -> closed !