Closed Bug 35229 Opened 24 years ago Closed 18 years ago

Lines of text longer than 3638 characters disappear in laying out (including in input boxes, location bar)

Categories

(Core :: Layout: Text and Fonts, defect, P4)

defect

Tracking

()

RESOLVED DUPLICATE of bug 237085
Future

People

(Reporter: bugzilla, Unassigned)

References

Details

(Keywords: testcase)

Attachments

(4 files)

[BUILD ID: 2000040815]

(excuse any oddities in this bug report, it's 3:26 in the morning)

Paste "feeffe" into one of the textboxes in the URL provided above many times, 
just hold down Ctrl+V.  Eventually the text disappears until you scroll left or 
right in the box, it's pretty strange.  Having trouble thinking right now, 
anyone know what the problem is?

By the way, the string you paste in and what textbox you paste it to can, of 
course, be whatever you want.  I just provided the above as an example.
The problem comes at 3638 characters, try copying this VV block of text (3637 
char) into something like keywords in query.cgi than adding one letter.

asfdfgndklsfnkdsfj,dsfhdlsjhflsdhjfhsdjfsdfkjsdnvjfnjkvfjkvabjkvbjkfbvjabfjkvbfj
kbvjkfdbvjkfasfdfgndklsfnkdsfj,dsfhdlsjhflsdhjfhsdjfsdfkjsdnvjfnjkvfjkvabjkvbjkf
bvjabfjkvbfjkbvjkfdbvjkfasfdfgndklsfnkdsfj,dsfhdlsjhflsdhjfhsdjfsdfkjsdnvjfnjkvf
jkvabjkvbjkfbvjabfjkvbfjkbvjkfdbvjkfasfdfgndklsfnkdsfj,dsfhdlsjhflsdhjfhsdjfsdfk
jsdnvjfnjkvfjkvabjkvbjkfbvjabfjkvbfjkbvjkfdbvjkfasfdfgndklsfnkdsfj,dsfhdlsjhflsd
hjfhsdjfsdfkjsdnvjfnjkvfjkvabjkvbjkfbvjabfjkvbfjkbvjkfdbvjkfasfdfgndklsfnkdsfj,d
sfhdlsjhflsdhjfhsdjfsdfkjsdnvjfnjkvfjkvabjkvbjkfbvjabfjkvbfjkbvjkfdbvjkfasfdfgnd
klsfnkdsfj,dsfhdlsjhflsdhjfhsdjfsdfkjsdnvjfnjkvfjkvabjkvbjkfbvjabfjkvbfjkbvjkfdb
vjkfasfdfgnd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kvfjkvabjkvbjkfbvjabfjkvbfjkbvjkfdbvjkfasfdfgndklsfnkdsfj,dsfhdlsjh
flsdhjfhsdjfsdfkjsdnvjfnjkvfjkvabjkvbjkfbvjabfjkvbfjkbvjkfdbvjkfasfdfgndklsfnkds
fj,dsfhdlsjhflsdhjfhsdjfsdfkjsdnvjfnjkvfjkvabjkvbjkfbvjabfjkvbfjkbvjkfdbvjkfasfd
fgndklsfnkdsfj,dsfhdlsjhflsdhjfhsdjfsdfkjsdnvjfnjkvfjkvabjkvbjkfbvjabfjkvbfjkbvj
kfdbvjkfasfdfgndklsfnkdsfj,dsfhdlsjhflsdhjfhsdjfsdfkjsdnvjfnjkvfjkvabjkvbjkfbvja
bfjkvbfjkbvjkfdbvjkfasfdfgndklsfnkdsfj,dsfhdlsjhflsdhjfhsdjfsdfkjsdnvjfnjkvfjkva
bjkvbjkfbvjabfjkvbfjkbvjkfdbvjkfasfdfgndklsfnkdsfj,dsfhdlsjhflsdhjfhsdjfsdfkjsdn
vjfnjkvfjkvabjkvbjkfbvjabfjkvbfjkbvjkfdbvjkfasfdfgndklsfnkdsfj,dsfhdlsjhflsdhjfh
sdjfsdfkjsdnvjfnjkvfjkvabjkvbjkfbvjabfjkvbfjkbvjkfdbvjkfasfdfgndklsfnkdsfj,dsfhd
lsjhflsdhjfhsdjfsdfkjsdnvjfnjkvfjkvabjkvbjkfbvjabfjkvbfjkbvjkfdbvjkf
sdfghhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhd


opps the word wrapping character additions causes it to mess up.. but anyhow.. 
you get the point.
I don't see what you're talking about, but this is Editor, not XPToolkit,
changing component and reassigning.
Assignee: trudelle → beppe
Component: XP Toolkit/Widgets → Editor
QA Contact: jrgm → sujay
I noticed that the text starts appearing when you select it.

This bug is similar to bug 32334, a crasher.  It usually happens while you're 
reproducing bug 32334.
assigning this one to brade for debugging
Assignee: beppe → brade
Target Milestone: --- → M17
This problem, by the way, also occurs in the location (URL) bar.
This bug doesn't seem to be editor-specific.  I have an example html file (with 
no form elements) that doesn't render if there is long strings of text in it. 
I'll attach it.  Note, if you move the lines with all the 'd' characters to the 
bottom of the body, the page appears to layout properly.
Assignee: brade → clayton
Component: Editor → Layout
QA Contact: sujay → petersen
Summary: lots of text in textbox causes text to be glitchy and invisible → lots of text causes text to be glitchy and invisible
Target Milestone: M17 → ---
This bug seems to be overlapping with bug 38652

This is supposed to deal with problems in textboxes with long strings; 38652 is 
problems with long strings in HTML files.
I think they are the same bug; probably also the same as #32334 but I'll leave 
that one as a dependency of this one and see if it goes away when this bug gets 
fixed.
Blocks: 32334
I found no problem in pasting the huge text onto the textboxes..

Inclined to mark this INVALID.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → INVALID
reopening bug
please forget "paste" action; just look at the rendering of the attachment.  If 
you look at the source you'll see that you should see some numbers as well as 
some long strings of the following letters:  a, b, c, d

When I view this with today's build on Mac, I don't see any numbers or several of 
the letters.
Status: RESOLVED → REOPENED
Resolution: INVALID → ---
Harish, since you owned this before it got re-opened, re-assigning to you...
Assignee: clayton → harishd
Status: REOPENED → NEW
I wasn't the owner of this bug at any point.  My comments are there as a result 
of triaging clayton's bug list. Putting this back on clayton's radar....for a 
proper redirection.
Assignee: harishd → clayton
This seems like a text layout problem to me.  Re-assigning to buster.
Assignee: clayton → buster
I think this is a problem with the word wrapping logic.  re-assigning to erik.
It's not a very common occurance, so I'm marking it P4/minor.
Assignee: buster → erik
Severity: normal → minor
Priority: P3 → P4
Summary: lots of text causes text to be glitchy and invisible → [TEXT] lots of text causes text to be glitchy and invisible
Accepting bug, and setting target to Future. Let me know if this is not OK.
Status: NEW → ASSIGNED
Target Milestone: --- → Future
Is this bug going to be difficult to track after most textboxes are replaced 
with ender-lite?
Blocks: 21847
Upon managerial request, adding the "testcase" keyword to 84 open layout bugs that
do not have the "testcase" keyword and yet have an attachement with the word
"test" in the description field. Apologies for any mistakes.
Keywords: testcase
erik resign. reassign all his bug to ftang for now.
Assignee: erik → ftang
Status: ASSIGNED → NEW
mark all future new as assigned after move from erik to ftang
Status: NEW → ASSIGNED
Resummarize and ->Fonts & Text (yes, this is still a bug!)
Assignee: ftang → nobody
Status: ASSIGNED → NEW
Component: Layout → Layout: Fonts and Text
QA Contact: chrispetersen → core.layout.fonts-and-text
Summary: [TEXT] lots of text causes text to be glitchy and invisible → Lines of text longer than 3638 characters disappear in laying out
I see this bug in the location bar when visiting an extremely long URL.  I can
reproduct it by visiting the URL, clicking in the location bar, then pressing
the END key.  It will look like the URL is just a bunch of blank spaces, but if
I select the text with the mouse or with SHIFT-ARROW it shows up.

Here's the URL I'm using, just for something else to test with:

http://www.flinthomes.net/cgi-bin/homesearch/hsh3?;price%3Akm%3Anum%3Age=1m;_order=price%3Ades;_template=remaxgrande-carybeach-results;_multidb=RealComp%2CFAAR;zip=48439;zip=48118;zip=48137;zip=48158;zip=48414;zip=48418;zip=48429;zip=48808;zip=48817;zip=48819;zip=48820;zip=48821;zip=48822;zip=48823;zip=48824;zip=48825;zip=48835;zip=48836;zip=48837;zip=48840;zip=48841;zip=48842;zip=48848;zip=48854;zip=48857;zip=48864;zip=48867;zip=48872;zip=48876;zip=48879;zip=48892;zip=48895;zip=48906;zip=48910;zip=48911;zip=48912;zip=48913;zip=48915;zip=48916;zip=48917;zip=48918;zip=48919;zip=48921;zip=48922;zip=48924;zip=48929;zip=48930;zip=48933;zip=48937;zip=48950;zip=48956;zip=48980;zip=49202;zip=49240;zip=49251;zip=49259;zip=49264;zip=49272;zip=49277;zip=49285;zip=48003;zip=48009;zip=48015;zip=48017;zip=48025;zip=48030;zip=48034;zip=48065;zip=48067;zip=48069;zip=48070;zip=48071;zip=48072;zip=48073;zip=48075;zip=48076;zip=48083;zip=48084;zip=48091;zip=48092;zip=48093;zip=48094;zip=48095;zip=48098;zip=48101;zip=48103;zip=48104;zip=48105;zip=48108;zip=48109;zip=48111;zip=48114;zip=48116;zip=48120;zip=48122;zip=48124;zip=48125;zip=48126;zip=48127;zip=48128;zip=48130;zip=48134;zip=48135;zip=48141;zip=48146;zip=48150;zip=48152;zip=48154;zip=48164;zip=48165;zip=48167;zip=48169;zip=48170;zip=48173;zip=48174;zip=48176;zip=48178;zip=48180;zip=48183;zip=48184;zip=48185;zip=48186;zip=48187;zip=48188;zip=48189;zip=48191;zip=48192;zip=48195;zip=48197;zip=48198;zip=48201;zip=48202;zip=48203;zip=48204;zip=48205;zip=48206;zip=48207;zip=48208;zip=48209;zip=48210;zip=48211;zip=48212;zip=48213;zip=48214;zip=48215;zip=48216;zip=48217;zip=48218;zip=48219;zip=48220;zip=48221;zip=48222;zip=48223;zip=48224;zip=48225;zip=48226;zip=48227;zip=48228;zip=48229;zip=48230;zip=48233;zip=48234;zip=48235;zip=48236;zip=48237;zip=48238;zip=48239;zip=48240;zip=48242;zip=48243;zip=48254;zip=48255;zip=48258;zip=48260;zip=48264;zip=48265;zip=48266;zip=48267;zip=48268;zip=48269;zip=48272;zip=48274;zip=48275;zip=48277;zip=48278;zip=48279;zip=48288;zip=48295;zip=48297;zip=48299;zip=48301;zip=48302;zip=48304;zip=48306;zip=48307;zip=48309;zip=48310;zip=48312;zip=48313;zip=48314;zip=48316;zip=48317;zip=48320;zip=48322;zip=48323;zip=48324;zip=48326;zip=48327;zip=48328;zip=48329;zip=48331;zip=48334;zip=48335;zip=48336;zip=48340;zip=48341;zip=48342;zip=48346;zip=48348;zip=48350;zip=48353;zip=48356;zip=48357;zip=48359;zip=48360;zip=48362;zip=48363;zip=48366;zip=48367;zip=48370;zip=48371;zip=48374;zip=48375;zip=48377;zip=48380;zip=48381;zip=48382;zip=48383;zip=48386;zip=48390;zip=48393;zip=48397;zip=48398;zip=48428;zip=48430;zip=48433;zip=48436;zip=48438;zip=48439;zip=48442;zip=48449;zip=48451;zip=48455;zip=48462;zip=48473;zip=48507;zip=48519;zip=48529;zip=48551;zip=48552;zip=48553;zip=48554;zip=48843;zip=48001;zip=48002;zip=48004;zip=48005;zip=48021;zip=48023;zip=48026;zip=48027;zip=48028;zip=48035;zip=48036;zip=48038;zip=48039;zip=48041;zip=48042;zip=48043;zip=48044;zip=48045;zip=48047;zip=48048;zip=48050;zip=48051;zip=48054;zip=48062;zip=48063;zip=48064;zip=48066;zip=48074;zip=48079;zip=48080;zip=48081;zip=48082;zip=48089;zip=48096;zip=48097;zip=48315;zip=48602;zip=48603;zip=48609;zip=48611;zip=48614;zip=48615;zip=48616;zip=48623;zip=48626;zip=48631;zip=48637;zip=48640;zip=48649;zip=48655;zip=48662;zip=48670;zip=48674;zip=48801;zip=48802;zip=48806;zip=48807;zip=48831;zip=48847;zip=48856;zip=48866;zip=48871;zip=48880;zip=48889;zip=48412;zip=48415;zip=48417;zip=48420;zip=48421;zip=48423;zip=48435;zip=48444;zip=48446;zip=48453;zip=48457;zip=48458;zip=48460;zip=48461;zip=48463;zip=48464;zip=48502;zip=48503;zip=48504;zip=48505;zip=48506;zip=48509;zip=48532;zip=48550;zip=48555;zip=48556;zip=48557;zip=48559;zip=48601;zip=48604;zip=48607;zip=48663;zip=48701;zip=48706;zip=48708;zip=48710;zip=48722;zip=48723;zip=48726;zip=48727;zip=48729;zip=48732;zip=48733;zip=48734;zip=48735;zip=48741;zip=48744;zip=48746;zip=48747;zip=48757;zip=48759;zip=48760;zip=48767;zip=48768;zip=48787;zip=48006;zip=48014;zip=48022;zip=48032;zip=48049;zip=48401;zip=48416;zip=48422;zip=48426;zip=48450;zip=48454;zip=48466;zip=48471;zip=48472;_startat=0;_multicount=RealComp%3D415%2CFAAR%3D15;_db=FAAR;_totalcount=15;&_template=remaxgrande-carybeach-fullview&_startat=0&_limit=1
Summary: Lines of text longer than 3638 characters disappear in laying out → Lines of text longer than 3638 characters disappear in laying out (including in input boxes, location bar)
*** Bug 207659 has been marked as a duplicate of this bug. ***
Here's another test case, from bug 207659, courtesy of mjs15451@hotmail.com.
Dup of bug 237085?
Depends on: 237085
I'm not sure, Jesse (but nice find!).  I marked a dependency to show the
relationship between them; we'll see whether the patch for that bug fixes this
one as well.
Blocks: 250334
*** Bug 259145 has been marked as a duplicate of this bug. ***
It seems my testcase (207659) no longer causes those breaks in the input as well
as view source.  I guess the amount of text mozilla can handle has increased.  I
like how the test 40391 testcase sucks up huge amounts of memory and brings my
entire system to a screeching halt though.  Anything we can do about that?  I'm
using Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511.
 Is this always going to be a bug albeit just a larger limitation on the maximum
amount of characters possible?
Blocks: longlines
*** Bug 303925 has been marked as a duplicate of this bug. ***
*** Bug 311162 has been marked as a duplicate of this bug. ***
Test case #144997 displays white space (can select/copy/paste the text elsewhere but can't see it on the page or in the source) in both fields for me running Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051111 Firefox/1.5

Also, I have been able to reproduce this bug with a simple <textarea> box.  It breaks (text turns white instead of black in box and if you view source) with more than 4096 characters on a single line with no newlines.
test case file, load page and add one more A to the box and the text turns white
Fixed by check-ins for bug 237085.

*** This bug has been marked as a duplicate of 237085 ***
Status: NEW → RESOLVED
Closed: 24 years ago18 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: