User-Agent: Mozilla/5.0 (X11; U; Linux i686; tr-TR; rv:22.214.171.124) Gecko/20070321 Pardus/2007 Firefox/126.96.36.199 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; tr-TR; rv:188.8.131.52) Gecko/20070321 Pardus/2007 Firefox/184.108.40.206 We have implemented a Turkish spell checker for Firefox. We have seen an artifact causing performance problems. Currently Firefox tries to generate for all misspelled words automatically. Since suggestion generation is order of magnitude slower than spell checking, for documents with many errors (or documents with different languages) hogs the CPU, slows down Firefox. Expected behavior for suggestion generation is to do it only on user interaction, meaning, firefox should generate suggestions only when user right clicks on the misspelled words. Reproducible: Always
After the landing of hunspell, any news on this bug? sorry for the spam..
Are you sure about your bug report? Can you reproduce it using the regular spellchecker? mozInlineSpellChecker::DoSpellCheck (in extensions/spellcheck/src/mozInlineSpellChecker.cpp) calls nsIEditorSpellCheck::CheckCurrentWordNoSuggest, and I don't see any other calls. Perhaps is your implementation treating CheckCurrentWordNoSuggest and CheckCurrentWord the same? If you still think you're seeing this problem, can you post a stack using the regular spellchecking service of the suggestions being generated without user action? Thanks.
Thanks Brett, it turned out that this was a bug in our code. Closing as invalid.