Bug 247001 - Very slow project startup, when "Automatic spell checking enabled by default"
Summary: Very slow project startup, when "Automatic spell checking enabled by default"
Status: RESOLVED WORKSFORME
Alias: None
Product: kile
Classification: Applications
Component: general (show other bugs)
Version: 2.1b4
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Michel Ludwig
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-07 17:23 UTC by mi
Modified: 2022-11-25 05:21 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Konsole output of a very slow startup of kile (1.97 KB, text/plain)
2016-10-20 16:22 UTC, Ansa
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mi 2010-08-07 17:23:02 UTC
Version:           2.1b4 (using KDE 4.4.5) 
OS:                Linux

If I enable the "Automatic spell checking enabled by default" in the configuration, the next time kile starts and opens the last project, I get full of

....
Enchant dict for "de_DE" 0xa164e20
Enchant dict for "de_DE" 0xa164e20
kile(5654)/Kate (On-The-Fly Spellcheck) KateOnTheFlyChecker::spellCheckDone: on-the-fly spell check done, queue length  8
kile(5654)/Kate (On-The-Fly Spellcheck) KateOnTheFlyChecker::performSpellCheck: for the range  [ (1906, 1)  ->  (1906, 2) ]
kile(5654)/Kate (On-The-Fly Spellcheck) KateOnTheFlyChecker::installedSmartRanges: [ (1906, 1)  ->  (1906, 2) ]
kile(5654)/Kate (On-The-Fly Spellcheck) KateOnTheFlyChecker::performSpellCheck: next spell checking "}"
Enchant dict for "de_DE" 0xa164e20
Enchant dict for "de_DE" 0xa164e20
kile(5654)/Kate (On-The-Fly Spellcheck) KateOnTheFlyChecker::spellCheckDone: on-the-fly spell check done, queue length  7
kile(5654)/Kate (On-The-Fly Spellcheck) KateOnTheFlyChecker::performSpellCheck: for the range  [ (1908, 14)  ->  (1908, 15) ]
kile(5654)/Kate (On-The-Fly Spellcheck) KateOnTheFlyChecker::installedSmartRanges: [ (1908, 14)  ->  (1908, 15) ]
kile(5654)/Kate (On-The-Fly Spellcheck) KateOnTheFlyChecker::performSpellCheck: next spell checking "{"
Enchant dict for "de_DE" 0xa164e20
Enchant dict for "de_DE" 0xa164e20
kile(5654)/Kate (On-The-Fly Spellcheck) KateOnTheFlyChecker::spellCheckDone: on-the-fly spell check done, queue length  6
kile(5654)/Kate (On-The-Fly Spellcheck) KateOnTheFlyChecker::performSpellCheck: for the range  [ (1908, 22)  ->  (1908, 23) ]
kile(5654)/Kate (On-The-Fly Spellcheck) KateOnTheFlyChecker::installedSmartRanges: [ (1908, 22)  ->  (1908, 23) ]
kile(5654)/Kate (On-The-Fly Spellcheck) KateOnTheFlyChecker::performSpellCheck: next spell checking ","
....

while opening the project. The project opens in a few minutes, which is not pleasing.

My project consists of several tex files (~100), which I believe are scanned through. After scanning through only the last opened tex files are open (3-4 in general), like expected.



Reproducible: Always

Steps to Reproduce:
Open project with a lot of tex file dependencies.

Actual Results:  
very slow project opening (scanning)

Expected Results:  
Not all documents should be scanned. Only opened/relevant ones.
Comment 1 Cochise César 2015-06-07 23:58:16 UTC
Only to confirm this bug is affecting me with a lot less files. Opening a single 100 lines file Kate becomes unresponsive. The interface is freezing, but my CPU continues mostly idle, so i guess this bug is related to a bottleneck in the interface draw pipeline, maybe the underlines for wrong words. 

Kate 5.0 using Frameworks 5.10.0 in Arch Linux 64 bits. 

katepart: next spell checking "account for your particular setup. If you're not using Unix, I'm afraid you'll"
sonnet.plugins.hunspell:  SpellerPlugin *HunspellClient::createSpeller(const QString &language) ; "pt_BR"
sonnet.plugins.hunspell:  HunspellDict::HunspellDict( const QString& lang ): "pt_BR"
sonnet.plugins.hunspell:  dddddd  0x3bcc980
sonnet.plugins.hunspell:  SpellerPlugin *HunspellClient::createSpeller(const QString &language) ; "pt_BR"
sonnet.plugins.hunspell:  HunspellDict::HunspellDict( const QString& lang ): "pt_BR"
sonnet.plugins.hunspell:  dddddd  0xceb6fb0
sonnet.plugins.hunspell:  SpellerPlugin *HunspellClient::createSpeller(const QString &language) ; "pt_BR"
sonnet.plugins.hunspell:  HunspellDict::HunspellDict( const QString& lang ): "pt_BR"
sonnet.plugins.hunspell:  dddddd  0xab5a2f0
sonnet.plugins.hunspell:  SpellerPlugin *HunspellClient::createSpeller(const QString &language) ; "pt_BR"
sonnet.plugins.hunspell:  HunspellDict::HunspellDict( const QString& lang ): "pt_BR"
sonnet.plugins.hunspell:  dddddd  0xf82ee10
sonnet.plugins.hunspell:  SpellerPlugin *HunspellClient::createSpeller(const QString &language) ; "pt_BR"
sonnet.plugins.hunspell:  HunspellDict::HunspellDict( const QString& lang ): "pt_BR"
sonnet.plugins.hunspell:  dddddd  0xf719670
sonnet.plugins.hunspell:  isCorrect : "account"
sonnet.plugins.hunspell:  result : 0
sonnet.plugins.hunspell:  isCorrect : "for"
sonnet.plugins.hunspell:  result : 1
sonnet.plugins.hunspell:  isCorrect : "your"
sonnet.plugins.hunspell:  result : 0
sonnet.plugins.hunspell:  isCorrect : "particular"
sonnet.plugins.hunspell:  result : 1
sonnet.plugins.hunspell:  isCorrect : "setup"
Comment 2 Ansa 2016-10-20 16:22:54 UTC
Created attachment 101664 [details]
Konsole output of a very slow startup of kile

I also confirm the slow startup when spellchecking is enabled. The konsole output is in the attachment.

Kubuntu repositories
Ubuntu 14.04.5 LTS
Qt: 4.8.6
KDE Development Platform: 4.13.3
Kile: 2.1.3
Comment 3 Justin Zobel 2022-10-26 03:07:17 UTC
Thank you for reporting this bug in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Comment 4 Bug Janitor Service 2022-11-10 05:11:42 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Bug Janitor Service 2022-11-25 05:21:57 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!