Apache OpenOffice (AOO) Bugzilla – Issue 80153
simple document needs 90 seconds to be displayed
Last modified: 2013-08-07 14:42:49 UTC
Opening the attached document is much to slow. It needs 90 seconds. The same document needs 5 seconds on a OOo2.1 portable and 10 seconds (which is to long too) in OOo2.2.1. During the opening I can see heavy activity on the net. Environment: WinXP Home, Linux-Server with printer, Samba. If I erase all formulas, the document opens in less then 5 seconds. It looks like OOo asks the printer something for each formula. Why at all needs OOo to contact the printer for opening a document? "Use printer metrics" is unchecked.
Created attachment 47183 [details] 1 side document with formulas
The loading of document is quick but takes lots of seconds to display this document (window is grey, processor usage is high). m221 WindowsXP
MRU->AMA: please have a look. It is a quite curious problem which only affects OpenOffice builds on windows. SO builds work fine and OO on Unix , too. The attached document (contains some Math objects) needs about 90 secs to be displayed.
hmmm.... I cannot reproduce this. <5 seconds to load the document attached in SRC680_m222 OOo-Dev build on Windows 2003 Server. The document contains 15 Math objects...really simple...and no external links.
Please try it in an environment, where you do not have a local printer, but access the printer over the server.
AMA->TL: Math and non-local printer? Maybe you have any idea?
Did you measure the time for opening from an already running office? Or did you open the OOo as well (by not having it running) and then opening the document so that the OOo still needs to be started first? Do you have the whole installation on the same computer or even drive? On my Windows box I tried with an already running office and with two different versions (m222 and m217) and it always took less then 7 seconds. Doing the same on a colleagues Linux box it needed only 5 seconds. Thus I see now problem here. Can you provide more details? TL->MAV: Please have a look. Thanks!
OOo is installed with "setup -a", therefore there is no system integration. User-folder and program-folder are on the same drive d:. I have tried with document placed on drive c: and on drive d:. It makes no difference. The printer is available, that means that I can print the document to that printer from inside OOo without problems. I start OOo with soffice.ex so that I get an empty office (gray background) and then open the document via file open. The blue squares in the status bar filled up and then OOo talks on the net. If I open another writer document or start a File > New > Formula so that the modules are in memory, it makes no difference. I have installed ethereal, so that I can provide you a protocol of that talk. I myself cannot interpret such a protocol. For using one formula in a document the protocol is 9MB, using two formulas the protocol is 27MB. The question is why such talk on the net happens at all, therefore a protocol for a document with one formula should already show the problem if at all. Please tell me which further information you need.
Further information: If I insert the file as linked OLE into a Draw-document, that document opens quickly without problems.
*** Issue 81426 has been marked as a duplicate of this issue. ***
Created attachment 48212 [details] Document with lots of formulas
If I use a connection to the printer as \\<server>\<printer> I get the long delay till the document has opened. If I map the printer to lpt via "net use lpt2: \\<server>\<printer>" and use this indirect connection as default printer, then the document opens fast. But the question remains, why the printer influences the opening of a document containing formulas.
I got a problem with opening a document with a lot of math equations too. I, however, do not have a problem with documents posted by regina and toregaupseth. I also noticed that there were a lot of network activities in my computer when I opened my document. I have two computers: one is installed with Windows XP profession 32 bits and another with Windows XP professional 64 bits. I tried using both 2.2.x and 2.3. All have slowness problem even my x64 machine is pretty fast (Core 2 Duo 2.4GHz, RAM 4GB). My 32 bits machine is not very slow either (Pentium 4 2.66GHz, RAM 1GB). I will post this problematic document soon. Hope it will give your more details about the issue.
Created attachment 48424 [details] Loading is fast, but display is frozen.
(Note: I chose a wrong file type when I created an attachment to this post, but that should not matter.)
*** Issue 82179 has been marked as a duplicate of this issue. ***
The mathSlowness.odt document takes approx 10 sec. to load and as I doubleclick a formula to edit it it takes 20 sec. before the bottom edit windows opens. The attached CPUactivity.pdf shows a (norwegian) task manager window, first the loading and then click on a formula.
Created attachment 48820 [details] CPU activity during loading and attempt to edit formula in mathSlowness.odt
I have a networked printer (old Windows 98 server) and am running Open Office 2.3 (latest as 11/25/07) in MS Windows XP (laptop). The network card or print server computer is slow to begin with, but while trying to work on a Writer .odt doc with lots of formulas in it, Writer takes a loooooong time to open (over 30 minutes). When I click on a formula box to edit it, I get this interminable delay. WORK AROUND: I set up a local printer that prints to a file on my machine, and made this the default printer. I will create a PDF of the document when I want to print, and use Acrobat or maybe use Ghostview to send the original printer file to the printer. It still takes about a minute to load the document, and about 30 second for the formula edit window to appear, but this is MUCH better than the 30+ minutes.
target 2.4
This bug looks like a duplicate to the issue 81789 that is fixed in OOo2.3.1. The main reason is the same. So I will close the issue as duplicate. Please reopen it if there is still a scenario that allows to reproduce the problem in OOo2.3.1. *** This issue has been marked as a duplicate of 81789 ***
.
Thanks a lot. I tested OOo 2.3.1 and found that mathSlowness.odt was not slow any more. It seems every thing works fine now in the updated version. Honestly, I stopped using OOo for a while once I encountered the problem (it's really a big problem for my work), and I just couldn't recommend OOo to my friends, although I'd like most of it a lot. I think I can now happily work with OOo again. Thank you again, Pinyo