Issue 80153 - simple document needs 90 seconds to be displayed
Summary: simple document needs 90 seconds to be displayed
Status: CLOSED DUPLICATE of issue 81789
Alias: None
Product: Writer
Classification: Application
Component: open-import (show other issues)
Version: 680m221
Hardware: All Windows XP
: P3 Trivial (vote)
Target Milestone: ---
Assignee: mikhail.voytenko
QA Contact: issues@sw
URL:
Keywords: oooqa, performance
: 81426 82179 (view as issue list)
Depends on:
Blocks:
 
Reported: 2007-07-29 19:57 UTC by Regina Henschel
Modified: 2013-08-07 14:42 UTC (History)
2 users (show)

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


Attachments
1 side document with formulas (55.23 KB, application/vnd.oasis.opendocument.text)
2007-07-29 19:58 UTC, Regina Henschel
no flags Details
Document with lots of formulas (558.87 KB, application/vnd.oasis.opendocument.text)
2007-09-13 10:35 UTC, firetreto
no flags Details
Loading is fast, but display is frozen. (216.64 KB, application/vnd.sun.xml.writer)
2007-09-23 01:41 UTC, pinyotae
no flags Details
CPU activity during loading and attempt to edit formula in mathSlowness.odt (24.31 KB, text/plain)
2007-10-10 18:44 UTC, firetreto
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description Regina Henschel 2007-07-29 19:57:30 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.
Comment 1 Regina Henschel 2007-07-29 19:58:31 UTC
Created attachment 47183 [details]
1 side document with formulas
Comment 2 kami911 2007-07-30 07:20:51 UTC
The loading of document is quick but takes lots of seconds to display this
document (window is grey, processor usage is high). m221 WindowsXP
Comment 3 michael.ruess 2007-07-30 10:06:23 UTC
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.
Comment 4 Joost Andrae 2007-07-30 16:51:39 UTC
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.
Comment 5 Regina Henschel 2007-07-30 17:03:37 UTC
Please try it in an environment, where you do not have a local printer, but
access the printer over the server.
Comment 6 andreas.martens 2007-07-31 14:54:16 UTC
AMA->TL: Math and non-local printer? Maybe you have any idea?
Comment 7 thomas.lange 2007-08-01 10:37:45 UTC
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!
Comment 8 Regina Henschel 2007-08-01 12:49:31 UTC
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.
Comment 9 Regina Henschel 2007-08-01 13:00:10 UTC
Further information: If I insert the file as linked OLE into a Draw-document,
that document opens quickly without problems.
Comment 10 michael.ruess 2007-09-13 10:18:51 UTC
*** Issue 81426 has been marked as a duplicate of this issue. ***
Comment 11 firetreto 2007-09-13 10:35:35 UTC
Created attachment 48212 [details]
Document with lots of formulas
Comment 12 Regina Henschel 2007-09-20 23:02:45 UTC
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.
Comment 13 pinyotae 2007-09-23 01:39:00 UTC
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.
Comment 14 pinyotae 2007-09-23 01:41:34 UTC
Created attachment 48424 [details]
Loading is fast, but display is frozen.
Comment 15 pinyotae 2007-09-23 01:46:31 UTC
(Note: I chose a wrong file type when I created an attachment to this post, but
that should not matter.)
Comment 16 michael.ruess 2007-10-08 15:36:10 UTC
*** Issue 82179 has been marked as a duplicate of this issue. ***
Comment 17 firetreto 2007-10-10 18:43:12 UTC
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.
Comment 18 firetreto 2007-10-10 18:44:29 UTC
Created attachment 48820 [details]
CPU activity during loading and attempt to edit formula in mathSlowness.odt
Comment 19 swarfmaker 2007-11-25 21:10:53 UTC
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.
Comment 20 Mathias_Bauer 2007-12-03 17:22:17 UTC
target 2.4
Comment 21 mikhail.voytenko 2008-01-03 08:49:30 UTC
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 ***
Comment 22 mikhail.voytenko 2008-01-03 08:50:20 UTC
.
Comment 23 pinyotae 2008-01-03 19:22:09 UTC
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