Ticket #8280 (confirmed Bug)

Opened 3 years ago

Last modified 3 years ago

big amount of invalid content slows down SCAYT (chrome)

Reported by: pfibbe Owned by:
Priority: Normal Milestone:
Component: UI : Spell Checker Version:
Keywords: Cc: SpellChecker.net

Description

With the SCAYT spellchecker enabled in documents with lots of incorrect words slows down the ckeditor, namely with adding newlines. This can cause a long browser freeze when forwarding/replying e-mails with 'invalid' content (different language, error logs, etc), where you still want the spellchecker enabled for componsing and checking your own content.

To reproduce:

  • place some lines of incorrect words, f.e.:

sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdfsdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdfsdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf

  • add some newlines by pressing ENTER 5 times followed by some characters. Repeat this step shortly after doing this for a greater effect.

It takes a couple of seconds to process it, in the mean time window freezes and you can't do anything.

It seems to occur mainly in chrome. In FF en IE9 the problem is present, but less dramatic.

Tested on an Intel Core i 3.4GHz, Windows 7

Change History

comment:1 Changed 3 years ago by fredck

  • Keywords scayt chrome slow removed
  • Cc SpellChecker.net added

comment:2 Changed 3 years ago by j.swiderski

  • Status changed from new to confirmed
  • Version 3.6.1 deleted

To reproduce: Turn on scayt, paste the content mentioned above, now few times: press Enter and type something like "dfdfdd" (incorrect word)

Issue is reproducible in Webkit and IE. And it's hard to determine the CKE version for this one.

In Webkit you could medium freezes in CKE 3.4.x, little freezes in 3.5.x but those long freezes has stared from CKE 3.6 rev [6904]

In IE(6-9) you could see long freezes all the time, when using code pasted above, but it seems that in latest CKE versions this issue has slightly improved. Additionally IE9 works much better than its “ancestors”.

Note: See TracTickets for help on using tickets.
© 2003 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy