https://bugs.freedesktop.org/show_bug.cgi?id=39007

--- Comment #88 from Thomas Albright <[email protected]> ---
I have not yet successfully duplicated the bug from scratch, but here are some
things I've learned:

Following Comment 60, I downloaded restorecount.plist and created it in
~/Library/Saved Application State/org.libreoffice.script.savedState/

At first, it did not work for me.  But the file has a "start" and "end" value. 
I'm not sure what those fields represent, but guessing that they might be
timestamps, I tried setting "end" to an extremely high value, and that seemed
to work.

So the key to duplicating the bug from scratch is to find a scenario where
restorecount.plist is created.  I'm still not sure how to do that, but here are
some notes:

- From watching the filesystem, I noticed that restorecount.plist shows up very
briefly when I start LibreOffice. However, it is also deleted very quickly. 
Could killing the application during this short time when the file exists cause
the bug?

- I don't know whether restorecount.plist is created by OS X or by LibreOffice
itself (although my guess is that OS X creates it).

- If OS X creates the file, then the key to duplicating the bug from scratch is
duplicating the circumstances that create that file.  The OS X preference
database is probably important (especially the settings for
NSQuitAlwaysKeepsWindows).

- The method of crashing the application may also be important. For example,
does OS X create the file if the application is killed with SIGKILL?  For me,
it did not.  It may be that a more organic crash is needed.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to