Version: 1.6.2 (using KDE 3.5.6, Kubuntu (feisty) 4:3.5.6-0ubuntu14) Compiler: Target: i486-linux-gnu OS: Linux (i686) release 2.6.20-16-generic When typing in KWord or KPresenter, words such as "didn't" and "I've", which have apostrophes in them, are picked up as misspellings by the spell checker. The spell checker seems to think that the word ends at the apostrophe, and ignores the part afterwards, rather than treating the apostrophe and the letters that succeed it as part of the same word. For example, when I type "didn't", the autospellcheck underlines "didn" as a misspelling, and ignores "'t". The spell checker offers "didn't" as a correction for "didn", but choosing it simply results in "didn't't", which in turn comes up as a misspelling that would correct to "didn't't't" and so on. The fact that the spell checker recognizes that "didn't" is a word, makes it all the more irritating. The bug occurs in both the inline spell checking and the spell checking dialog. I am unable to think of other, non alphabet characters that words can have in them in order to test whether this affects them or just apostrophes. I have tried both Aspell and Ispell, both of which yield the same problem. I am using the standard KOffice package from the Kubuntu package repository, to which I have made no modifications. The bug has occurred from the first time I tried KWord onwards.
really a sonnet/kspell bug, but they don't seem to have a product entry.
Created attachment 26441 [details] An apostrophe between two letters should be treated as part of the word
An apostrophe between two letters frequently forms part of a word, the two most common situations being a valid multi word contraction and a possessive noun, the common contractions should be in the basic English lists. Since they have a French dictionary and the French often use an apostrophe between letters in words, I wonder if this is also a problem for them too.
As I understand it, this is fixed by a recent commit. Can you check 4.4 beta2 when it is available?
Fixed with https://quickgit.kde.org/?p=sonnet.git&a=commit&h=0f5259541e30d762512fcace0dc2f218debfc5e9 Also added a unit test to ensure it doesn't break in the future: https://quickgit.kde.org/?p=sonnet.git&a=commit&h=62fc59ba5513ab5d2c8dd5e31d7e3e7ee27f4e24