Apache OpenOffice (AOO) Bugzilla – Issue 26003
Formula being drawn extremely slowly in some cases
Last modified: 2013-08-07 14:54:45 UTC
NOTE: This might be a bug in the word processor and not the formula editor but since the problem only arises in connection with formulas I think it's safer to post it here. In some cases OOO renders formulas extremely slowly. Sometimes I have to wait for several minutes just to render a single formula. The cases are the following: - when editing a formula inside a text document (updating auttomatically or manually is slow) - when pasting a formula from the clipboard into a text document - when opening a document and showing a formula for the first time (and when scrolling through the newly opened document for the first time) In the following cases the formulas are rendered *much* faster: - when editing a formula which is not a part of a text document (using File->New->Formula) - when scrolling through a document whose formulas have been rendered recently (the first time I scroll through a document containing many formulas it is extremely slow, but the second time it is much faster) My CPU is an AMD K6-2 450 which isn't exactly state-of-the-art, so people with modern CPUs might not be able to see hust how slow the rendering is using the exaples presented here. For those people I recommend using more complex formulas or slower computers. Examples: 1. Select "File->New->Text Document". Then select "Insert->Object->Formula" and enter the following formula: left ( stack{a_1 # a_2 # a_3} right ) times left ( stack{b_1 # b_2 # b_3} right ) = left ( stack{a_2 cdot b_3 - b_2 cdot a_3 # a_3 cdot b_1 - b_3 cdot a_1 # a_1 cdot b_2 - b_1 cdot a_2} right ) = left ( stack{a_1 # a_2 # a_3} right ) times left ( stack{b_1 # b_2 # b_3} right ) = left ( stack{a_2 cdot b_3 - b_2 cdot a_3 # a_3 cdot b_1 - b_3 cdot a_1 # a_1 cdot b_2 - b_1 cdot a_2} right ) = left ( stack{a_1 # a_2 # a_3} right ) times left ( stack{b_1 # b_2 # b_3} right ) = left ( stack{a_2 cdot b_3 - b_2 cdot a_3 # a_3 cdot b_1 - b_3 cdot a_1 # a_1 cdot b_2 - b_1 cdot a_2} right ) 2. Try copying it closing the formula editor, select your newly created formula object, copy it and then paste it. You should notice how slow this is. For comparison, select "File->New->Formula" and enter the formula above. You should notice that this is ~10 times faster. 3. Open the attached document and scroll through it. You should notice how long it takes to scroll through the document the first time (it takes several minutes on my pc) compared to the second time you scroll through it. BTW. I believe this could be caused by a bug in the word processor and not the the fomula editor itself.
Created attachment 13517 [details] Document containing formulas
TL->MRU: Can you please try to reproduce this. Thanks!
can not confirm this here on winxp p3 700mhz. will try to reproduce this on win98 on a p3 500mhz pc
confirmed on win98 on a p3 500 mhz. this document loads fast on this pc on win2k but slow as hell on win98. times up to 3 minutes and more for the document load and one minute an more before the formular will be visible. will look for the developer responsible for this reassigned to jw
Seems to me a duplicate of issue 21304 (slow processing of Formula objects on Win98).
SBA: Issue 27259 is younger but almost "nailed down" and assigned to the right developer. I will comment in there to check this case too. *** This issue has been marked as a duplicate of 27259 ***
SBA: Done. Closed.