Issue 28594 - very slow when having a lot of text
Summary: very slow when having a lot of text
Status: CONFIRMED
Alias: None
Product: Impress
Classification: Application
Component: code (show other issues)
Version: OOo 2.0.3
Hardware: All All
: P3 Trivial with 2 votes (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords: oooqa
Depends on:
Blocks:
 
Reported: 2004-05-01 13:36 UTC by floeff+ooo
Modified: 2017-05-20 10:55 UTC (History)
3 users (show)

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


Attachments
File that causes OO to freeze, major slow slowdown or crash when forcing close. (9.41 KB, application/vnd.sun.xml.impress)
2005-01-13 21:51 UTC, aggro
no flags Details
The "i"-Test (7.63 KB, application/vnd.sun.xml.impress)
2005-01-13 22:03 UTC, floeff+ooo
no flags Details
File that causes OO to freeze when trying to open it, aka i-test in OO 1.0 format. (10.63 KB, application/vnd.sun.xml.impress)
2005-01-14 15:54 UTC, aggro
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description floeff+ooo 2004-05-01 13:36:20 UTC
The editing of the presentation is very slow when a lot of text is in a text
area. I cannot attach an example as it contains private data, but I can send it
to you via private e-mail.

This one is extremely annoying ;-(
Comment 1 wolframgarten 2004-05-03 07:41:07 UTC
Reassigned to Christian.
Comment 2 christian.guenther 2004-05-07 17:34:06 UTC
Could you please send me the file?
you can use my OOo e-mail cgu@openoffice.org
Comment 3 floeff+ooo 2004-05-07 17:41:09 UTC
Has been sent to you via e-mail.
Comment 4 christian.guenther 2004-05-07 17:47:52 UTC
I got the file. 
Thank you.
Comment 5 christian.guenther 2004-05-07 17:52:29 UTC
I test it with windows xp and everything works fine.
please tell me which operating system do you use.
Comment 6 floeff+ooo 2004-05-07 17:58:10 UTC
I use Windows XP Professional SP1 with OO 1.1.1.

Try the following:
- open the file
- choose the page "Abgrenzung Sachbetrug-Diebstahl"
- click on the huge area with black text and try to edit it

Isn't it slow on your system?
Comment 7 christian.guenther 2004-05-07 18:06:25 UTC
I did it but everything works fine (and fast)
I entered text, deleted it, copy and paste it, formated it changed the
alignment, etc. 
everything without problems.
Comment 8 floeff+ooo 2004-05-07 18:17:35 UTC
Is there any debug output I could send you?
I run on a pretty fast machine (XP 2600+ w/ 512 MB) and I don't experience any
speed problems whatsoever except this one.
Comment 9 christian.guenther 2004-05-19 16:21:24 UTC
Hi Malte,

You are yet responcible for the editengine.
Can you help Floeff to find out what's going wrong?
Comment 10 christian.guenther 2004-05-19 16:22:01 UTC
set myself to cc
Comment 11 malte_timmermann 2004-05-25 15:43:32 UTC
Can't reproduce too :(

Do you use a normal release?
Even in debug release, where some more checks are done, everything is fine for me...
Comment 12 floeff+ooo 2004-05-25 16:07:16 UTC
My release is OpenOffice.org 1.1.1 (German), 645m35 (Build: 8762)
Comment 13 thackert 2004-11-21 17:50:10 UTC
Does this problem also occur in newer versions of OOo (1.1.3 or 1.9.xx)? And
have you tried to increase your memory under Options->OpenOffice.org->Memory? If
this issue is solved, could you close this issue, please? I have seen that the
last entry was in May ... :(
Comment 14 floeff+ooo 2004-11-21 19:03:23 UTC
Even after a reinstallation of my system (XP SP2) and using OOo 1.1.3, the
problem is still there. For testing purposes, I have set memory from 9 MB to 90
MB and memory per object from 2,4 MB to 24 MB. This does not help either.

I can send you an example document via private e-mail. Please let me know if I
should do so. (Cannot attach to this issue as it contains private data.)
Comment 15 floeff+ooo 2004-11-21 19:04:00 UTC
Erroneously marked as WORKSFORME.
Bug is *STILL THERE*.
Comment 16 aggro 2005-01-13 21:49:40 UTC
I created a test document test.odp which has basicly a major amount of letter i.
If I open this and try to do something the program will act slow or crash. I
will attach the file I created here. I'm not sure if OO is even supposed to
handle that many i's.

Basicly all I need to do is open the document and try to close it, which is
impossible without crashing the whole application. But if that's not enough for
you, try editing the text a bit and then try some menus if they work fast or not.

I created the file by typing letter i a few times, then I copied it and pasted
it a few times. Copied some more and pasted some more. Sometimes I selected all
and copied over the selected test and I continued doing this untill the
application started acting slow. That is when I saved the file, and after that I
have been unable to open the file and use it properly.

I don't know if this is related to the OP's problem, but as a suggestion to him,
he could try to create a similar document which causes the problem with data
that is possible to send here. That might help solving the problem.

Tested with snapshot 1.9.69
OS: Windows 2000 + SP4
Comment 17 aggro 2005-01-13 21:51:06 UTC
Created attachment 21482 [details]
File that causes OO to freeze, major slow slowdown or crash when forcing close.
Comment 18 floeff+ooo 2005-01-13 22:02:26 UTC
Hi there, and thanks for taking the time! I tried to confirm that with 1.1.4 and
at the moment, I don't have any problem.

Attached is a test file. Does that produce the same errors you experienced?
Comment 19 floeff+ooo 2005-01-13 22:03:00 UTC
Created attachment 21483 [details]
The "i"-Test
Comment 20 aggro 2005-01-13 22:11:13 UTC
The file(The "i"-Test) you provided words pretty fine for me. If I select the
text there is minor delay, but that is under second and doesn't matter. The
document looks different from the one I posted, because this one has all the
text inside the white area which represents the paper. In document I created,
the text continues to go well below the paper-area.
Comment 21 floeff+ooo 2005-01-14 07:56:24 UTC
Could you send in your document in an OOo 1.1.4 compatible format? Then I'll
test it.
Comment 22 aggro 2005-01-14 15:54:43 UTC
Created attachment 21521 [details]
File that causes OO to freeze when trying to open it, aka i-test in OO 1.0 format.
Comment 23 aggro 2005-01-14 15:58:14 UTC
I tested the previous file I posted with OO 1.1.0 and the result was freezing in
there also. OO seems to eat all the cpu cycles and about 40MB memory. Mem usage
seems to increase, but very slowly and very small amounts.

That file was also created by typing a lot of i's in the text area. I had to
create new document, since I was unable to open and save the previous document
due to this problem.
Comment 24 floeff+ooo 2005-01-14 16:54:18 UTC
Confirmed with OOo 1.1.4. I consider this bug extremely important!
Comment 25 aggro 2005-01-14 17:09:11 UTC
No, this is not P1 problem, since this doesn't stop the development of this
software, please read the help file about priorities:
http://qa.openoffice.org/scdocs/ddIssues_EnterModify.html#priority

This could be P2 problem, because "- Freezes in basic functionality". I don't
have permissions to change the priority for this bug, perhaps someone else could
do that.
Comment 26 floeff+ooo 2005-01-14 17:11:29 UTC
Sorry, you are right. Have changed priority to P2.
Comment 27 nathanson 2005-01-31 19:35:46 UTC
I was also able to replicate the bug. 
All you need to do is 
1) Create a new Presentation
2) Place a textbox into a slide
3) Place a lot of text into the textbox (this can be done by copying and pasting
repeatedly)
4) Save the file and close OpenOffice
5) Try to open the saved file

On a Windows XP machine soffice.exe will hover at around 50% CPU usage for a
while and OO will appear unresponsive. It may actually open if you wait but will
be way to slow to actually use. It crashed Linux machines as well.
Comment 28 haxwell 2005-02-03 20:52:17 UTC
On my Windows 2000 5.0.2195 SP4 box running OOo 1.9.74,

1. I created a new presentation.
2. Put a text box on the first page. 
3. Typed the phrase "This is Johnathan. I am testing a bug." into the box.
4. Cut and pasted that till the text ran off the page. Then I Selected All, and
pasted that in there. Then Selected All and pasted that in there. Pretty soon,
it started running pretty slow, and then after trying to click in the text box
to see if OOo would respond, the application crashed.

This is a valid bug.
Comment 29 floeff+ooo 2005-02-03 21:00:46 UTC
Thanks for confirming. I consider it important as well, as I already had some
slides I wanted to make that were impossible due to this bug.
Comment 30 haxwell 2005-02-03 21:50:03 UTC
Just for posterity's sake, when I opened OOo again, the recovery tool
successfully recovered this document from the crash, but Presentation pegged my
CPU at ~95% once it opened the document. After about 5 minutes, I right clicked
on Impress in the task bar, and chose close. It closed normally. But when I
opened OOo again, it tried to recover the document again. It did recover it
successfully, but that was the beginning of a downward spiral only to be
resolved by a reinstall of OOo 1.9.74. 
Comment 31 haxwell 2005-02-03 21:52:48 UTC
Aarrrgh.. I spoke too soon. The reinstall didn't stop it. It still is trying to
open this document, and freezing each time it tries.
Comment 32 aggro 2005-02-05 09:57:32 UTC
haxwell, did you uninstall the old version before reinstalling? That worked for
me, when I had similar problem. Just remove everything and get a fresh start.
Comment 33 floeff+ooo 2005-02-05 18:15:54 UTC
Do you mean uninstalling OpenOffice.org? Or the users profile?
Comment 34 christian.guenther 2005-04-08 15:03:58 UTC
It's enough to delete the user directory.
In this Directory is 1 file which is importent for the recovery. If you delete
this file (or the whole directory) you can start the Office without the recovery
dialog.
Comment 35 christian.guenther 2005-04-08 16:01:51 UTC
I still can't reproduce the bug with the file from Floeff.
I can reproduce the bug with the gigantic textbox from Aggro.
With the description from Aggro I can also reproduce the crash.
The behaviour seems to change  in src680m91.
I change the prio back to 3 because I can't reproduce the bug with a textbox
which have a normal size.
Please have a look.
Comment 36 clippka 2005-04-18 09:47:43 UTC
@cl->@dbo, what a fine candidate for a valgrind. Please also check the gpf.
Thank you
Comment 37 Daniel Boelzle [:dbo] 2005-05-10 14:59:45 UTC
@hbrinkm: As discussed with HDU, problem seems to be that the edit engine code
reformats everything for every change, even if the text portion is not inside
the visible area.
please, take over...
Comment 38 Daniel Boelzle [:dbo] 2005-05-10 15:01:19 UTC
note: no GPF experienced during valgrinding
Comment 39 openoffice 2005-05-20 16:35:47 UTC
.
Comment 40 andreas.martens 2005-05-25 09:45:05 UTC
Considering the effort, the priority, the risk and our resource planning I've to
retarget this issue to OOo Later.
Comment 41 floeff+ooo 2006-06-29 12:28:02 UTC
Still does not work in 2.0.3rc7.
However, as it is rather uncommon of having so much text in a presentation, I
gues other issues have more priority :-)
Comment 42 mathiasm 2010-07-02 22:49:39 UTC
confirmed in OOo3.2.0 on WinXP SP3: about 10s to get edit mode. soffice.bin ran 
for 3-4% CPU and csrss.exe ran for 45%
Comment 43 Marcus 2017-05-20 10:55:57 UTC
Reset assigne to the default "issues@openoffice.apache.org".