Summary: | Language auto-detection causes some words to be incorrectly marked as misspelled | ||
---|---|---|---|
Product: | [Frameworks and Libraries] frameworks-sonnet | Reporter: | reescf |
Component: | general | Assignee: | Martin Sandsmark <martin.sandsmark> |
Status: | REPORTED --- | ||
Severity: | normal | CC: | a.samirh78, adrian, daniel, Flupp+bugs.kde.org, frederick888, kdelibs-bugs, nate |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
reescf
2017-11-07 02:09:44 UTC
Can you try disabling the language auto-detection feature in the editor settings in Kile to see whether that changes anything? (In reply to Michel Ludwig from comment #1) > Can you try disabling the language auto-detection feature in the editor > settings in Kile to see whether that changes anything? *Extremely minimal* testing suggests this will indeed help. Do note that all I've done is disable that feature and paste the list of words from my example into the currently active document. So, when I say 'minimal', I really do mean minimal. However, Kile marks as incorrect flavoring, honor, color and recognize - and nothing else. If this works - so simple - I will be firmly in your debt! (In reply to Michel Ludwig from comment #1) > Can you try disabling the language auto-detection feature in the editor > settings in Kile to see whether that changes anything? Unfortunately, further testing suggests this is not going to solve the problem. Now on-the-fly spell-checking doesn't work at all. If I want to spell-check, I need to disable and re-enable the feature. This then underlines incorrect words. If I then change one of the incorrectly spelt words, it is no longer marked as incorrect - no matter what changes I make to it. (E.g. sticking another 'j' somewhere makes it correct, it seems.) Moreover, nothing newly entered is spell-checked. Again, I can switch the feature of and on again using the menu and then it will underline words appropriately. This includes e.g. 'color' and 'recognize' being marked as incorrect, but not 'colour', 'recognise' etc. But it doesn't underline, say, 'xswereqtr' as incorrect if I add that - not until I disable on-the-fly checking and re-enable it. Then it marks 'xswereqtr', but if I append a 'q' - so I now have 'xswereqtrq' - it removes the underlining, even though it is obviously still incorrect. Should I open a separate bug for the new issue? Or is it the same bug as the original problem? Can you try the hunspell back-end, for instance? I suspect there could be an issue with how aspell is interfacing with sonnet. I can't reproduce the follow-up issue now. With auto-detection off, spell-checking seems to be working - thanks. Damn it, it is indeed the automatic detection that causes the issue. Would it be too crazy to suggest removing the feature altogether for the time being, and opening a bug to provide it back (assuming someone actually wants it)? *** Bug 380461 has been marked as a duplicate of this bug. *** Can confirm this behavior and workaround in 2024 with KWrite. Does it make sense to open a new issue? |