Page 1 of 1

Very long lines in edit boxes become invisible

Posted: 01 Sep 2014 13:24
by Marco
Consider this VF as an example

Code: Select all

"[^\p{Latin}\p{Common}]" >(?# [\p{Lepcha}\p{Arabic}\p{Limbu}\p{Armenian}\p{Lisu}\p{Balinese}\p{Malayalam}\p{Bamum}\p{Mandaic}\p{Batak}\p{Meetei_Mayek}\p{Bengali}\p{Mongolian}\p{Bopomofo}\p{Myanmar}\p{Braille}\p{New_Tai_Lue}\p{Buginese}\p{Nko}\p{Buhid}\p{Ogham}\p{Canadian_Aboriginal}\p{Ol_Chiki}\p{Cham}\p{Oriya}\p{Cherokee}\p{Phags_Pa}\p{Coptic}\p{Rejang}\p{Cyrillic}\p{Runic}\p{Devanagari}\p{Samaritan}\p{Ethiopic}\p{Saurashtra}\p{Georgian}\p{Sinhala}\p{Glagolitic}\p{Sundanese}\p{Greek}\p{Syloti_Nagri}\p{Gujarati}\p{Syriac}\p{Gurmukhi}\p{Tagalog}\p{Han}\p{Tagbanwa}\p{Hangul}\p{Tai_Le}\p{Hanunoo}\p{Tai_Tham}\p{Hebrew}\p{Tai_Viet}\p{Hiragana}\p{Tamil}\p{Inherited}\p{Telugu}\p{Javanese}\p{Thaana}\p{Kannada}\p{Thai}\p{Katakana}\p{Tibetan}\p{Kayah_Li}\p{Tifinagh}\p{Khmer}\p{Vai}\p{Lao}\p{Yi}] #)[\u02EA\u02EB\u0300-\u0373\u0375-\u0377\u037A-\u037D\u037F\u0384\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u052F\u0531-\u0556\u0559-\u055F\u0561-\u0587\u058A\u058D-\u058F\u0591-\u05C7\u05D0-\u05EA\u05F0-\u05F4\u0600-\u0604\u0606-\u060B\u060D-\u061A\u061E\u0620-\u063F\u0641-\u065F\u066A-\u06DC\u06DE-\u070D\u070F-\u074A\u074D-\u07B1\u07C0-\u07FA\u0800-\u082D\u0830-\u083E\u0840-\u085B\u085E\u08A0-\u08B2\u08E4-\u0963\u0966-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09FB\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AF1\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B77\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BFA\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58\u0C59\u0C60-\u0C63\u0C66-\u0C6F\u0C78-\u0C7F\u0C81-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D57\u0D60-\u0D63\u0D66-\u0D75\u0D79-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2-\u0DF4\u0E01-\u0E3A\u0E40-\u0E5B\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00-\u0F47\u0F49-\u0F6C\u0F71-\u0F97\u0F99-\u0FBC\u0FBE-\u0FCC\u0FCE-\u0FD4\u0FD9\u0FDA\u1000-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u137C\u1380-\u1399\u13A0-\u13F4\u1400-\u169C\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17DD\u17E0-\u17E9\u17F0-\u17F9\u1800\u1801\u1804\u1806-\u180E\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1940\u1944-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u19DE-\u1A1B\u1A1E-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA0-\u1AAD\u1AB0-\u1ABE\u1B00-\u1B4B\u1B50-\u1B7C\u1B80-\u1BF3\u1BFC-\u1C37\u1C3B-\u1C49\u1C4D-\u1C7F\u1CC0-\u1CC7\u1CD0-\u1CD2\u1CD4-\u1CE0\u1CE2-\u1CE8\u1CED\u1CF4\u1CF8\u1CF9\u1D26-\u1D2B\u1D5D-\u1D61\u1D66-\u1D6A\u1D78\u1DBF-\u1DF5\u1DFC-\u1DFF\u1F00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FC4\u1FC6-\u1FD3\u1FD6-\u1FDB\u1FDD-\u1FEF\u1FF2-\u1FF4\u1FF6-\u1FFE\u200C\u200D\u20D0-\u20F0\u2126\u2800-\u28FF\u2C00-\u2C2E\u2C30-\u2C5E\u2C80-\u2CF3\u2CF9-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D70\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u3005\u3007\u3021-\u302F\u3038-\u303B\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FD-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u321E\u3260-\u327E\u32D0-\u32FE\u3300-\u3357\u3400-\u4DB5\u4E00-\u9FCC\uA000-\uA48C\uA490-\uA4C6\uA4D0-\uA62B\uA640-\uA69D\uA69F-\uA6F7\uA800-\uA82B\uA840-\uA877\uA880-\uA8C4\uA8CE-\uA8D9\uA8E0-\uA8FB\uA900-\uA92D\uA92F-\uA953\uA95F-\uA97C\uA980-\uA9CD\uA9D0-\uA9D9\uA9DE-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA5C-\uAAC2\uAADB-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB65\uABC0-\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB13-\uFB17\uFB1D-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBC1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFD\uFE00-\uFE0F\uFE20-\uFE2D\uFE70-\uFE74\uFE76-\uFEFC\uFF66-\uFF6F\uFF71-\uFF9D\uFFA0-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|(?# \U000101A0 <<<)\uD800\uDDA0(?#>>>)|(?# \U000101FD <<<)\uD800\uDDFD(?#>>>)|(?# \U000102E0 <<<)\uD800\uDEE0(?#>>>)|(?# \U0001B000 <<<)\uD82C\uDC00(?#>>>)|(?# \U0001B001 <<<)\uD82C\uDC01(?#>>>)|(?# \U0001EE21 <<<)\uD83B\uDE21(?#>>>)|(?# \U0001EE22 <<<)\uD83B\uDE22(?#>>>)|(?# \U0001EE24 <<<)\uD83B\uDE24(?#>>>)|(?# \U0001EE27 <<<)\uD83B\uDE27(?#>>>)|(?# \U0001EE39 <<<)\uD83B\uDE39(?#>>>)|(?# \U0001EE3B <<<)\uD83B\uDE3B(?#>>>)|(?# \U0001EE42 <<<)\uD83B\uDE42(?#>>>)|(?# \U0001EE47 <<<)\uD83B\uDE47(?#>>>)|(?# \U0001EE49 <<<)\uD83B\uDE49(?#>>>)|(?# \U0001EE4B <<<)\uD83B\uDE4B(?#>>>)|(?# \U0001EE51 <<<)\uD83B\uDE51(?#>>>)|(?# \U0001EE52 <<<)\uD83B\uDE52(?#>>>)|(?# \U0001EE54 <<<)\uD83B\uDE54(?#>>>)|(?# \U0001EE57 <<<)\uD83B\uDE57(?#>>>)|(?# \U0001EE59 <<<)\uD83B\uDE59(?#>>>)|(?# \U0001EE5B <<<)\uD83B\uDE5B(?#>>>)|(?# \U0001EE5D <<<)\uD83B\uDE5D(?#>>>)|(?# \U0001EE5F <<<)\uD83B\uDE5F(?#>>>)|(?# \U0001EE61 <<<)\uD83B\uDE61(?#>>>)|(?# \U0001EE62 <<<)\uD83B\uDE62(?#>>>)|(?# \U0001EE64 <<<)\uD83B\uDE64(?#>>>)|(?# \U0001EE7E <<<)\uD83B\uDE7E(?#>>>)|(?# \U0001EEF0 <<<)\uD83B\uDEF0(?#>>>)|(?# \U0001EEF1 <<<)\uD83B\uDEF1(?#>>>)|(?# \U0001F200 <<<)\uD83C\uDE00(?#>>>)|(?# \U00010140-\U0001018C <<<)\uD800[\uDD40-\uDD8C](?#>>>)|(?# \U00010E60-\U00010E7E <<<)\uD803[\uDE60-\uDE7E](?#>>>)|(?# \U000111E1-\U000111F4 <<<)\uD804[\uDDE1-\uDDF4](?#>>>)|(?# \U00016800-\U00016A38 <<<)\uD81A[\uDC00-\uDE38](?#>>>)|(?# \U0001D167-\U0001D169 <<<)\uD834[\uDD67-\uDD69](?#>>>)|(?# \U0001D17B-\U0001D182 <<<)\uD834[\uDD7B-\uDD82](?#>>>)|(?# \U0001D185-\U0001D18B <<<)\uD834[\uDD85-\uDD8B](?#>>>)|(?# \U0001D1AA-\U0001D1AD <<<)\uD834[\uDDAA-\uDDAD](?#>>>)|(?# \U0001D200-\U0001D245 <<<)\uD834[\uDE00-\uDE45](?#>>>)|(?# \U0001EE00-\U0001EE03 <<<)\uD83B[\uDE00-\uDE03](?#>>>)|(?# \U0001EE05-\U0001EE1F <<<)\uD83B[\uDE05-\uDE1F](?#>>>)|(?# \U0001EE29-\U0001EE32 <<<)\uD83B[\uDE29-\uDE32](?#>>>)|(?# \U0001EE34-\U0001EE37 <<<)\uD83B[\uDE34-\uDE37](?#>>>)|(?# \U0001EE4D-\U0001EE4F <<<)\uD83B[\uDE4D-\uDE4F](?#>>>)|(?# \U0001EE67-\U0001EE6A <<<)\uD83B[\uDE67-\uDE6A](?#>>>)|(?# \U0001EE6C-\U0001EE72 <<<)\uD83B[\uDE6C-\uDE72](?#>>>)|(?# \U0001EE74-\U0001EE77 <<<)\uD83B[\uDE74-\uDE77](?#>>>)|(?# \U0001EE79-\U0001EE7C <<<)\uD83B[\uDE79-\uDE7C](?#>>>)|(?# \U0001EE80-\U0001EE89 <<<)\uD83B[\uDE80-\uDE89](?#>>>)|(?# \U0001EE8B-\U0001EE9B <<<)\uD83B[\uDE8B-\uDE9B](?#>>>)|(?# \U0001EEA1-\U0001EEA3 <<<)\uD83B[\uDEA1-\uDEA3](?#>>>)|(?# \U0001EEA5-\U0001EEA9 <<<)\uD83B[\uDEA5-\uDEA9](?#>>>)|(?# \U0001EEAB-\U0001EEBB <<<)\uD83B[\uDEAB-\uDEBB](?#>>>)|(?# \U00020000-\U0002A6D6 <<<)\uD840[\uDC00-\uDFFF]|[\uD841-\uD868][\uDC00-\uDFFF]|\uD869[\uDC00-\uDED6](?#>>>)|(?# \U0002A700-\U0002B734 <<<)\uD869[\uDF00-\uDFFF]|[\uD86A-\uD86C][\uDC00-\uDFFF]|\uD86D[\uDC00-\uDF34](?#>>>)|(?# \U0002B740-\U0002B81D <<<)\uD86D[\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D](?#>>>)|(?# \U0002F800-\U0002FA1D <<<)\uD87E[\uDC00-\uDE1D](?#>>>)|(?# \U000E0100-\U000E01EF <<<)\uDB40[\uDD00-\uDDEF](?#>>>)
[/size]
You can paste it in the VF edit box and execute it, but you won't see it. Only the blinking caret is visible, on the far right.

(For the curious people: the VF above finds every filename which contains at least one character that is neither Latin nor a common symbol)

Re: Very long lines in edit boxes become invisible

Posted: 02 Sep 2014 14:41
by admin
Yes, confirmed. I checked this and that but ATM cannot explain nor fix it. Weird.

Re: Very long lines in edit boxes become invisible

Posted: 02 Sep 2014 15:38
by Marco
Roger that.

Re: Very long lines in edit boxes become invisible

Posted: 02 Sep 2014 15:50
by TheQwerty
Just adding my findings...

My first thought was it might be possibly related to the unicode patterns but I can reproduce with 5,460 '0's - 5,459 are just fine but one more breaks the camel's back.

However, it doesn't seem to be a hard character count since with Marco's pattern 5,330 characters is the limit, any more makes it go invisible.

In case you didn't notice the pattern is still visible in editor mode so you can quickly check by toggling between the two modes with F6.


Here's 5,459 '0's for you, adding another activates the invisibility cloak...

Code: Select all

00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
[/size]

Re: Very long lines in edit boxes become invisible

Posted: 02 Sep 2014 16:01
by admin
Confirmed. A strange number. Does not ring any bell.

Re: Very long lines in edit boxes become invisible

Posted: 02 Sep 2014 16:01
by Marco
Yes, thanks for the tip, I know that editor mode is not affected by this.
Another thing that might be worth noticing: if you paste that bunch of zeroes, and then type '1', you can see the '1'. But then, as soon as you hover the line with the mouse cursor, zip!, invisibility cloak.

Re: Very long lines in edit boxes become invisible

Posted: 02 Sep 2014 16:23
by TheQwerty
Just noticed that count of zeros doesn't affect my real install.
The difference - font selection for dialogs.

In a fresh copy of 14.40 that was the number using Segoe UI.
Setting Dialogs to Comic Sans MS drops the number to 4,680.

At that number they display fine in the list mode, if I enter the item's editor (not editor mode) they are still visible and now selected, but if I hit Left to jump to the end of the selection they disappear.


What an oddity... :?
Maybe it's related to the width or memory usage?

Re: Very long lines in edit boxes become invisible

Posted: 02 Sep 2014 17:09
by bdeshi
Not just those inline-editable lists; all other single-line edit boxes are also affected by this. Including the addressbar, livefilter boxes, UDC/CTB textboxes...