| Summary: | Automatic spell checking enabled by default option ignored | ||
|---|---|---|---|
| Product: | [Applications] kate | Reporter: | daniel_shub |
| Component: | application | Assignee: | KWrite Developers <kwrite-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | kare.sars, matt.scheirer, michel.ludwig |
| Priority: | NOR | ||
| Version First Reported In: | 5.0.0 | ||
| Target Milestone: | --- | ||
| Platform: | Arch Linux | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
daniel_shub
2015-03-26 11:27:57 UTC
It seems a bit strange the way it works. Aplying the change in the settings page influenes the global sonet setting, not only kate. The global sonet setting is using QSetting while Kate is trying to read : KConfigGroup configGroup(KSharedConfig::openConfig(), "Spelling"); I don't think kate should write to the global sonet setting... but if that is the wanted behaviour kate should read the QSetting in stead... I think kate should default to using the sonet setting but enable overiding it without changing the sonet setting. Regards, Kåre. > The global sonet setting is using QSetting while Kate is trying to read :
> KConfigGroup configGroup(KSharedConfig::openConfig(), "Spelling");
Is there a work around then? Can I manually add something to katerc, or some other configuration file?
Yes you can add the following to your KF5 katerc: [Spelling] checkerEnabledByDefault=true But be warned. It takes me ~2 minutes to open a session with 340 files when I have that enabled. I need to check this also. Part of the problem is probably that sonnet has moved away from KConfig in the KF5 port and that previously the sonnet configs where saved with the applications own configs and now it saves it in the global config.... This seems to have been fixed some time in the intervening years, automatic spellcheck toggle is working fine and persisting properly. No entries in katerc required - it all looks to route to Sonnet properly now, at least as of 19.04. |