Bug 355974

Summary: input Amarok in the KWrite highlighted as misspelled
Product: [Frameworks and Libraries] frameworks-sonnet Reporter: Leslie Zhai <zhaixiang>
Component: generalAssignee: Martin Sandsmark <martin.sandsmark>
Status: RESOLVED FIXED    
Severity: normal CC: kdelibs-bugs-null, zhaixiang
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: 0002-ignore-misspelling-false.patch

Description Leslie Zhai 2015-11-27 05:09:10 UTC
When save ignore word list by kcm_spellchecking to ~/.config/KDE/Sonnet.conf, then run KWrite, just input Amarok (one of kdeWords), but on the fly check, using sonnet`s hunspell.so or aspell.so, still check the ignore word, and highlight it as misspell one.

KF5: v5.16.0
Qt5: v5.5.1

Reproducible: Always



Expected Results:  
not check ignore word

my ~/.config/KDE/Sonnet.conf

[General]
autodetectLanguage=true
backgroundCheckerEnabled=true
checkUppercase=true
checkerEnabledByDefault=true
defaultClient=
defaultLanguage=en_US
ignore_en_US=Amarok, KAddressBook, KDevelop, KHTML, KIO, KJS, KMail, KMix, KOrganizer, Konqueror, Kontact, Nepomuk, Okular, Qt, Sonnet, helle
skipRunTogether=true
Comment 1 Leslie Zhai 2015-11-27 07:21:45 UTC
Created attachment 95766 [details]
0002-ignore-misspelling-false.patch

if currentIgnoreList contains inputting word, just return false for isMisspelled check