Project

General

Profile

Bug #1387

pasting large amounts of text hangs morpho

Added by Chad Berkley over 18 years ago. Updated over 18 years ago.

Status:
Resolved
Priority:
Immediate
Assignee:
Category:
morpho - general
Target version:
Start date:
03/24/2004
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
1387

Description

When you paste a large amount of text into morpho it hangs. Java takes 99% of
the processor and does not return it until you kill the app. The reason I
tested this was that I thought it was reasonable for a person to copy and paste
a lengthy method description (or one of the other text based descriptions). If
we give people a large text box, it should be able to handle a lot of text.

History

#1 Updated by Saurabh Garg over 18 years ago

Parts of the text which Chad was pasting into Abstract Area contained pictures.
This was creating the problem.
I tried pasting in text. The program ran fine with about 5000 word length
distributed over 100 paragraphs.

However it did have some problems in displaying the XSL output when I kicked up
that input to 10,000 words. Though the program didn't hang.
There might be limit on amount of text that can be displayed. The error I got
was:
javax.swing.text.StateInvariantError: infinite loop in formatting

#2 Updated by Chad Berkley over 18 years ago

I messed around with this more and I think sid is right. i inadvertently
pasted in a picture on the web page i was copying text from. this is not a
bug. i will close it.

#3 Updated by Redmine Admin over 9 years ago

Original Bugzilla ID was 1387

Also available in: Atom PDF