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

            Bug ID: 162650
           Summary: lowriter constantly rewrites config file
                    (registrymodifications.xcu)
           Product: LibreOffice
           Version: 7.3.7.2 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]

Description:
Writer very frequently rewrites its config file (registrymodifications.xcu),
even if no changes to the settings were made, e.g. only working on / moving
around in a document.

Since the file is ~3-5MB in size and apparently rewritten in full every time, I
found that this can cause performance issues like temporary lockups, if the
file is on a drive with low write performance.


Steps to Reproduce:
(On Linux:)
1. Open Writer with a text document
2. Look at last change of config file with ls -l --full-time
~/.config/libreoffice/4/user/registrymodifications.xcu
3. Move around in the document and repeat step #2, repeat ad lib


Actual Results:
The config file registrymodifications.xcu is updated very frequently, sometimes
after every change of the position in the document, even though no
configuration settings were changed.

(Note: The rewrite apparently does not necessarily happen *every* time the
position in the document changes, though I am seeing it happen quite
frequently. I'm not sure what exactly triggers it, but using a larger / more
complex document and moving by multiple pages might help).

Expected Results:
The config file should only be rewritten if necessary, i.e. if settings were
actually changed.

If writer should keep track of the last position in the document, IMHO that
information should be written to a separate small file, so rewriting it does
not create a significant write load.



Reproducible: Sometimes


User Profile Reset: Yes

Additional Info:
Somewhat related (might also help):

Bug 134421 - Replace xcu settings storage with sqlite database
https://bugs.documentfoundation.org/show_bug.cgi?id=134421

I could not reproduce the problem with localc, so it might not be affected. I
have not tried the other LO apps.

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

Reply via email to