Apache OpenOffice (AOO) Bugzilla – Issue 97749
performance: meta-sdr-object for charts - shape creation for big symbol charts is too slow
Last modified: 2017-05-20 11:27:27 UTC
This report is a spin off from Issue 97722. Pls. use sample documents from Issue 97722 to reproduce the problem and read introduction there. Steps to reproduce: 0. open WIN Task Manager so that you can see processor load 1. Open "Problems.ods" with sheet "Diagramm1" 2. doubleclick white chart area below legend to open "chart mode" It seems that redraw action takes much time (20 seconds). 3. Right click / Context menu "Data Ranges" Modify from "$Auswertung1.$A$1:$N$1600" in Data Range pane to "$Auswertung1.$A$1:$N$1599" and press <ok> Expected: Chart should be redrawn within few seconds Actual: Takes more than 30 seconds 11. No open "Bigproblems.ods" with sheet "Diagramm1" and redo from "2." - hope you don't need OOo for anything else next week ;-)
This might be related to (or even a DUP of) Issue 97722
See comments in i97722
@aw, this is a symbol chart with 8 * 1600 symbol shapes. The creation of those shapes is what takes very long in this case. I think for this example your idea of a meta-sdr-object could help a lot to reduce the amount of created shapes - having 8 shapes only (with 1600 transformations each) instead of 12 8000 shapes. Maybe we can take this issue as the feature task for the meta-sdr-objects. I changed the summary accordingly.
*** Issue 90561 has been marked as a duplicate of this issue. ***
AW: Did some checks. There is still some broadcasting in SdrObjList::InsertObject and SdrObjList::RemoveObject which can be avoided when model is locked; but the main part is object creation, property setting (SfxItemSet copy constructor) and similar. A basic solution would indeed need a meta-object. Thinking about possible concepts, but removing from AW075 for the moment...
Reset assigne to the default "issues@openoffice.apache.org".