Automatic spellcheck in `kate` does not persist

In kate when automatic spellcheck is turned on, it does highlight mis-spelled words in the beginning, but after a highlighted wrong word is corrected, the highlighting does not persist for other mis-spelled words.

Of course toggling Ctrl-Shift-O works but it is cumbersome.

This was not how automatic spellcheck used to work in kate.

pacman -Ss spell | grep installed
extra/aspell 0.60.8-2 [installed]
extra/aspell-en 2020.12.07-1 [installed]
extra/enchant 2.2.15-1 [installed]
extra/hspell 1.4-3 [installed]
extra/hunspell 1.7.0-3 [installed]
extra/hunspell-en_gb 2020.12.07-2 [installed]
extra/hunspell-en_us 2020.12.07-2 [installed]
extra/libvoikko 4.3.1-1 [installed]
extra/sonnet 5.81.0-1 (kf5) [installed]
community/gtkspell3 3.0.10-2 [installed]
hunspell-en_us 2020.12.07-2

Moreover, it might have to do with KDE Settings and also with the configuration of kate including auto-detection of the language.

Has anyone encountered this recently and if so, have you found any workarounds please?

extra/aspell 0.60.8-2 [installed]
extra/enchant 2.2.15-1 [installed]
extra/hspell 1.4-3 [installed]
extra/hunspell 1.7.0-3 [installed]
extra/hunspell-de 20161207-6 [installed]
extra/hunspell-en_gb 2020.12.07-2 [installed]
extra/libvoikko 4.3.1-1 [installed]
extra/sonnet 5.81.0-1 (kf5) [installed]
community/gtkspell3 3.0.10-2 [installed]
community/hunspell-fr 7.0-1 [installed]
community/hunspell-nl 2.20.19-1 [installed]

And it still does work for me, so: does this also happen in a newly created user? (E.G. chandra2)

:thinking:

The spellcheck behaviour in kate is unchanged for a new user.

Erm: does this mean it works in the new user or you have the same problem there too?

:thinking:

Continuing the discussion from Automatic spellcheck in `kate` does not persist:

I created a new user, with new KDE and other settings from the defaults, and typed some words in kate. Wrong ones were highlighted. These were corrected. Then I typed some more, this time with some words correct and others erroneous. The erroneous ones were not highlighted.

Ergo, automatic spellcheck does not seem to persist throughout an editing session. It starts off showing errors. When those errors are corrected, and I resume editing, new errors are not highlighted. If I use Ctrl-Shift-O and toggle, things work again. But not until then.

So, both a new user with fresh defaults, and I , experience the same non-persistence of automatic spellcheck.

1 Like

As I can’t reproduce the same, I’m thinking you’re running into a Kate bug, so I’d file one here

:sob:

Bug report is here.

1 Like

:+1:

Add an additional comment and add an inxi --admin --verbosity=7 --filter --no-host --width instead of:

Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.21.4
KDE Frameworks Version: 5.81.0
Qt Version: 5.15.2

as that will give the devs all the information they need and more

:grin:

kate version 21.04.1 does not suffer from this bug.

The fix is documented here.

The information given was in accordance with the bug reporting template.

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.