When defining custom properties for a document the CPU usage increases and the program freezes for a while when the number of properties increases (linear), starting from about 10 properties. This is easily reproduced by adding a lot of custom properties.
Tried version 18.104.22.168.beta2 as well. It happens on that version as well but is much less noticable (no freezes). Version 5.3.7 is (luckily) not affected.
Not sure how to reproduce and when the problem occurs.
Please, provide a test document and a clear and detailed step by step scenario to reproduce the problem.
Set status to NEEDINFO, please set it back to UNCONFIRMED once requested
informations are provided.
Best regards. JBF
> This is easily reproduced by adding a lot of custom properties.
Figured this was clear enough, however I created a document template (New Document, Properties, Custom Properties, Add property a bunch of times). You can open the template, go to properties and start editing the custom properties. There are 'only' 12 custom properties in this file you should only see short CPU spikes (and very short UI freezes) but adding a few more properties yourself should give you an idea of the issue.
Created attachment 138608 [details]
document template with a bunch of custom properties
Adding a few more custom properties will give you longer cpu spikes and ui freezes.
Ok, thank you for your answer.
Reproducible for me with LO 5.4.3 from Ubuntu PPA but not with LO 22.214.171.124.0+
Setting status to NEW and adding keyword regression because you wrote it does not happen in 5.3.7.
Build ID: 1:5.4.3~rc2-0ubuntu0.16.04.1~lo1
Threads CPU : 4; OS : Linux 4.4; UI Render : GL; VCL : gtk3;
Locale : fr-FR (fr_FR.UTF-8); Calc: single
Build ID: e16ef4a7d2f56a22dc05f8d05cf27d828d9d231b
Threads CPU : 4; OS : Linux 4.4; UI Render : GL; VCL: gtk3;
Locale : fr-FR (fr_FR.UTF-8); Calc: threaded
Best regards. JBF
(In reply to Jean-Baptiste Faure from comment #4)
> Ok, thank you for your answer.
> Reproducible for me with LO 5.4.3 from Ubuntu PPA but not with LO 126.96.36.199.0+
> Setting status to NEW and adding keyword regression because you wrote it
> does not happen in 5.3.7.
> Version: 188.8.131.52
> Build ID: 1:5.4.3~rc2-0ubuntu0.16.04.1~lo1
> Threads CPU : 4; OS : Linux 4.4; UI Render : GL; VCL : gtk3;
> Locale : fr-FR (fr_FR.UTF-8); Calc: single
> Version: 184.108.40.206.0+
> Build ID: e16ef4a7d2f56a22dc05f8d05cf27d828d9d231b
> Threads CPU : 4; OS : Linux 4.4; UI Render : GL; VCL: gtk3;
> Locale : fr-FR (fr_FR.UTF-8); Calc: threaded
> Best regards. JBF
if it's ok in 220.127.116.11.0+ then we can close it as RESOLVED WORKSFORME.
@Freddy, Is the problem still reproducible in 18.104.22.168 ?
> @Freddy, Is the problem still reproducible in 22.214.171.124 ?
Yes, have not seen any improvement yet. And as said in the first post, version 126.96.36.199.0+ has the problem as well, it is less noticable however (shorter cpu spikes).
For fedora there is a new 5.4 version available that contains a patch that appears to solve the issue:
One comment in there:"master doesn't suffer from the problem, so backporting commit that fixed it"
I could not quite work out what patch they are referring to, but it seems to have been fixed in 'master'?
The patch backported to 5-4 is the fix of http://cgit.freedesktop.org/libreoffice/core/commit/?id=272a96da03522a82db4185e7858d05375f3ea95e for bug 100922