Opened 13 years ago

Last modified 13 years ago

#8280 confirmed Bug

big amount of invalid content slows down SCAYT (chrome)

Reported by: Pieter Fibbe Owned by:
Priority: Normal Milestone:
Component: UI : Spell Checker Version:
Keywords: Cc: WebSpellChecker.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 (2)

comment:1 Changed 13 years ago by Frederico Caldeira Knabben

Cc: WebSpellChecker.net added
Keywords: scayt chrome slow removed

comment:2 Changed 13 years ago by Jakub Ś

Status: newconfirmed
Version: 3.6.1

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 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy