Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 332620 - Multi line Text widget cannot hold it's full textLimit in a single line
Summary: Multi line Text widget cannot hold it's full textLimit in a single line
Status: RESOLVED NOT_ECLIPSE
Alias: None
Product: RAP
Classification: RT
Component: RWT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2010-12-15 07:07 EST by Jimmy Selgen Nielsen CLA
Modified: 2010-12-15 08:45 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jimmy Selgen Nielsen CLA 2010-12-15 07:07:27 EST
Build Identifier: 20100917-0705

When pasting a large amount of text, 100kb or so without linebreaks, into a Text widget, the widget truncates the text at 28230 bytes.

"Splitting" the text into lines of 130 characters works fine, and the widget holds the full amount of text.

Reproducible: Always
Comment 1 Ivan Furnadjiev CLA 2010-12-15 07:29:09 EST
Do you observe this behavior in all browsers (IE, FF, Chrome, Safari, Opera) or it is browser specific?
Comment 2 Ivan Furnadjiev CLA 2010-12-15 07:56:14 EST
I did some testing with Controls Demo -> Text Tab. A single line text (102 614 characters) copy and paste into a multi text widget, than CTRL-A to select the complete text, and copy and paste back. FF, IE and Opera don't truncate it, Safari and Chrome (WebKit) truncate the text to 37078 characters. All test are done on Windows 7 64bit. Maybe the problem is OS (RAM) specific too - limit of the clipboard.
Comment 3 Ivan Furnadjiev CLA 2010-12-15 08:05:10 EST
And some more testing on Windows XP SP3 512MB RAM (VirtualBox) with FF and IE6. Same single line text (102 614 characters) is not truncated.
Comment 4 Jimmy Selgen Nielsen CLA 2010-12-15 08:30:22 EST
(In reply to comment #1)
> Do you observe this behavior in all browsers (IE, FF, Chrome, Safari, Opera) or
> it is browser specific?

I guess i was too hasty in reporting the bug as a bug in RAP.
It seems like it's indeed a bug in WebKit, as none of IE or Firefox truncates the text.

I'll report the bug to the WebKit guys instead.
Sorry for the trouble.
Comment 5 Ivan Furnadjiev CLA 2010-12-15 08:45:13 EST
I will close it as NOT_ECLIPSE.