To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=114705


User sb changed the following:

                What    |Old value                 |New value
================================================================================
                  Status|VERIFIED                  |REOPENED
--------------------------------------------------------------------------------
              Resolution|FIXED                     |
--------------------------------------------------------------------------------




------- Additional comments from [email protected] Mon Oct 18 08:17:36 +0000 
2010 -------
Fix failed for Mac OS X.  If you have documents open while quitting (via
Option-Q etc.), OOo will erroneously consider those documents as
to-be-recovered-after-a-crash upon next start.

The problem is that the new FlushConfiguration is called too early in
Desktop::QueryExit (which is used to terminate OOo only on Mac OS X; other
platforms use other code paths, see issue 114937), before logic elsewhere
(probably triggered by the call to xDesktop->terminate()) cleans up information
stored in the configuration.  The fix appears to be to move the call to
FlushConfiguration down within Desktop::QueryExit, namely

---8<---
--- a/desktop/source/app/app.cxx
+++ b/desktop/source/app/app.cxx
@@ -785,7 +785,6 @@
     {
         RTL_LOGFILE_CONTEXT_TRACE( aLog, "<- store config items" );
         utl::ConfigManager::GetConfigManager()->StoreConfigItems();
-        FlushConfiguration();
         RTL_LOGFILE_CONTEXT_TRACE( aLog, "<- store config items" );
     }
     catch ( RuntimeException& )
@@ -817,6 +816,7 @@
     }
     else
     {
+        FlushConfiguration();
         try
         {
             // it is no problem to call DisableOfficeIPCThread() more than once
---8<---

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to