Issue 59081 - session management broken
Summary: session management broken
Status: CLOSED FIXED
Alias: None
Product: gsl
Classification: Code
Component: code (show other issues)
Version: OOo 1.0.0
Hardware: All Unix, all
: P3 Trivial (vote)
Target Milestone: OOo 2.0.2
Assignee: thorsten.martens
QA Contact: issues@gsl
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2005-12-08 11:15 UTC by philipp.lohmann
Modified: 2006-02-17 09:19 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description philipp.lohmann 2005-12-08 11:15:58 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.
Comment 1 philipp.lohmann 2005-12-08 11:19:06 UTC
added keyword regression
Comment 2 lo 2005-12-09 09:14:08 UTC
Andreas, please take over...
Comment 3 andreas.schluens 2005-12-15 14:10:57 UTC
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.
Comment 4 andreas.schluens 2006-01-12 10:37:58 UTC
AS->OF: Please verify this task  on the cws[fwk29]. THX.

re-open issue and reassign to of@openoffice.org
Comment 5 andreas.schluens 2006-01-12 10:38:25 UTC
reassign to of@openoffice.org
Comment 6 andreas.schluens 2006-01-12 10:38:35 UTC
reset resolution to FIXED
Comment 7 Olaf Felka 2006-01-12 10:57:50 UTC
of @ tm. Can you please take over?

re-open issue and reassign to tm@openoffice.org
Comment 8 Olaf Felka 2006-01-12 11:00:15 UTC
reassign to tm@openoffice.org
Comment 9 Olaf Felka 2006-01-12 11:02:23 UTC
reset resolution to FIXED
Comment 10 thorsten.martens 2006-01-23 15:15:15 UTC
Checked and verified in cws fwk29 -> OK !
Comment 11 thorsten.martens 2006-02-17 09:19:08 UTC
Verified in 680m1 build -> closed !