You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openoffice.apache.org by bu...@apache.org on 2021/10/07 21:20:35 UTC

[Issue 126869] Analysis Task: Lost/Corrupted Documents after Save/Shutdown

https://bz.apache.org/ooo/show_bug.cgi?id=126869

--- Comment #64 from Peter <pe...@apache.org> ---
Just to pick the case up again.
How about we look at the issue from the other end?

What happens when AOO is issued a shutdown? -> I searched for the Word and I
found something, which looks like something that coulöd be the entry point.
->
http://opengrok.openoffice.org/xref/aoo42x/main/vcl/unx/generic/app/sm.cxx?r=c82f2877
When a Shutdown is issued it looks like each document instance gets a
SalSessionSaveRequestEvent. If no Instance is left it is moving into savedone.

This seems to trigger callSaveRequested in the Session.
Then all listeners are checked for reporting back that they are done.
A SessionListener is established by addSessionManagerListener.

--
I hope to find the events on document level at some point. See
https://wiki.openoffice.org/wiki/Documentation/DevGuide/OfficeDev/Document_Events

When I was looking for those events it was not obvious where they are set or
called.

Lets see if this leads somewhere. Since I my time is very spontaneous, please
feel free to continue on the thoughts. I don't mind. At the same time I try to
make some more time to venture forth.

-- 
You are receiving this mail because:
You are the assignee for the issue.