Issue 125340 - registrymodifications.xcu file - starts as 17 kBytes, grows to 500 kBytes
Summary: registrymodifications.xcu file - starts as 17 kBytes, grows to 500 kBytes
Alias: None
Product: General
Classification: Code
Component: ui (show other issues)
Version: 4.1.0
Hardware: PC Windows 7
: P3 Normal (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
Depends on:
Reported: 2014-08-01 11:27 UTC by John
Modified: 2014-08-02 04:39 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---

3 x registrymodifications.xcu files (53.32 KB, application/x-zip-compressed)
2014-08-01 11:27 UTC, John
no flags Details
The three files mentioned in the forum post. (19.63 KB, application/x-zip-compressed)
2014-08-01 15:46 UTC, John
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description John 2014-08-01 11:27:30 UTC
Created attachment 83762 [details]
3 x registrymodifications.xcu files

My C:\Users\user_name\AppData\Roaming\OpenOffice\4\user\registrymodifications.xcu file has grown to 490 kBytes.  I cleared the Recent documents history (which clears all applications' histories) but the file only reduced to 483 kBytes. I deleted it, and restarted AOO, and the new file created by AOO was 17 kBytes.

Is this a bug where garbage is not being deleted from registrymodifications.xcu?  (I note that the files compress by 90% so there is a lot of repetition within them.)  

I have posted the original 490 kBytes registrymodifications.xcu, the 483 kBytes version after clearing the Recent files list, and the 17 kBytes file created by AOO after deleting registrymodifications.xcu.
Comment 1 hanya 2014-08-01 14:43:38 UTC
Part of large data is status of toolbars. Visibility, position, locked state and so on. 
After the Configmgr Refactoring, each property value of a toolbar is stored separately 
into items. And each items has long oor:path to indicate the toolbars.

For example, oor:name for private:resource/toolbar/graphicobjectbar toolbar is 
165 characters. And it has 14 properties in each item node, they consume 2.3 kB only for the oor:path.
We have some toolbars on each document types. 

If you open some dialog, new value is stored as new deafult values and also the position of the dialog is stored. 
They are stored in the file but this data is not so large.
Comment 2 John 2014-08-01 15:46:22 UTC
Created attachment 83765 [details]
The three files mentioned in the forum post.
Comment 3 John 2014-08-01 15:47:37 UTC
Thank you.  I think you are saying it is "working as designed".

One reason for my posting the issue was that there are a lot of problems on the user forum where "Resetting the profile" fixes the problem.  I wondered if corruption of registrymodifications.xcu was a possible cause.  
For example, OpenOffice freezes with regularity at  I have attached the three files mentioned in the post.
Comment 4 hanya 2014-08-02 04:39:50 UTC
Here is rough analysis of the attached registrymodification.xcu (including history) in the report description: 

Path name, count, length (Bytes)
Windowstate length: 683, 169701
Top 10 items
/org.openoffice.Office.Histories/Histories/org.openoffice.Office.Histories:HistoryInfo['URLHistory']/ItemList: 100, 44960
/org.openoffice.Office.Histories/Histories/org.openoffice.Office.Histories:HistoryInfo['URLHistory']/OrderList: 100, 32156
/org.openoffice.ucb.Store/ContentProperties: 44, 29212
/org.openoffice.Office.Common/Help/HelpAgent/IgnoreList: 65, 22746
/org.openoffice.ucb.Hierarchy/Root: 1, 14916
/org.openoffice.Office.Views/Windows: 28, 10698
/org.openoffice.Office.Views/TabDialogs: 35, 9880
/org.openoffice.Office.Views/Dialogs: 33, 8625
/org.openoffice.Office.Views/TabPages: 20, 6187
Other items: 858, 144612