https://bugs.documentfoundation.org/show_bug.cgi?id=92529

            Bug ID: 92529
           Summary: config written during startup ...
           Product: LibreOffice
           Version: 5.0.0.0.beta1
          Hardware: Other
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: framework
          Assignee: [email protected]
          Reporter: [email protected]

This looks (at least to the un-trained eye) somewhat odd.

--- a/configmgr/source/components.cxx
+++ b/configmgr/source/components.cxx
@@ -167,6 +167,7 @@ Components::WriteThread::WriteThread(
     Thread("configmgrWriter"), reference_(reference), components_(components),
     url_(url), data_(data)
 {
+    SAL_DEBUG("*** create write thread ***");
     lock_ = lock();
     assert(reference != 0);
 }
@@ -177,6 +178,7 @@ void Components::WriteThread::execute() {
     osl::MutexGuard g(*lock_); // must not throw
     try {
         try {
+            SAL_DEBUG("*** write config  ***");
             writeModFile(components_, url_, data_);
         } catch (css::uno::RuntimeException & e) {
             // Ignore write errors, instead of aborting:

Starting libreoffice, launching writer and exiting produces:

debug:5743:1: *** create write thread ***!
debug:5743:2: *** write config  ***!
debug:5743:1: *** create write thread ***!
debug:5743:7: *** write config  ***!
debug:5743:1: *** create write thread ***!
debug:5743:8: *** write config  ***!
debug:5743:1: *** create write thread ***!
debug:5743:9: *** write config  ***!

Which seems quite a lot given the lack of any user-initiated settings change.

-- 
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