Bug 263619 - Wrong check highlights for correctly spelled words.
Summary: Wrong check highlights for correctly spelled words.
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kde-windows
Classification: Unmaintained
Component: other (show other bugs)
Version: 4.5
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: KDE-Windows
URL:
Keywords:
: 277337 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-01-19 08:04 UTC by Swarnendu Biswas
Modified: 2024-09-22 18:51 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
This is a snapshot of the wrong highlighting in Kile. (31.29 KB, image/png)
2011-01-20 07:45 UTC, Swarnendu Biswas
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Swarnendu Biswas 2011-01-19 08:04:46 UTC
Version:           2.1b5 (using KDE 4.5.4) 
OS:                MS Windows

I have installed Kile using KDE on Windows. It is working fine so far excepting the issue with spell check. I have automatic spell check enabled, and the dictionary selected is English USA. However, it is underlining even correctly spelled words. In the suggestions, it is showing a similar spelled word. The underline is not going even on replacement with the suggestion. 

I do not face this problem with Kile on Linux which I regularly use.

Reproducible: Always

Steps to Reproduce:
Just open the file and try and edit some text. Make sure you have automatic spell check enabled.

Actual Results:  
Correctly spelled words are also underlined.

Expected Results:  
Correctly spelled words should not be underlined.

OS: WindowsNT (i686) release Windows 7
Compiler: cl.exe
Comment 1 Michel Ludwig 2011-01-19 22:57:58 UTC
This looks like there might a problem with the LaTeX highlighting file that is being used.

Can you try to search for all the files called "latex.xml" on your system, and check what their version is? The version information can be found inside the file.
Comment 2 Swarnendu Biswas 2011-01-20 07:45:33 UTC
Created attachment 56210 [details]
This is a snapshot of the wrong highlighting in Kile.
Comment 3 Swarnendu Biswas 2011-01-21 08:03:21 UTC
Hi,

I searched for the latex.xml file on my system, and found one instance corresponding to KDE for Windows installation. It is installed in 
<installdir>\KDE\share\apps\katepart\syntax.

Its version is 1.42 and kateversion is 2.3.
Comment 4 Michel Ludwig 2011-01-23 23:18:56 UTC
(In reply to comment #2)
> Created an attachment (id=56210) [details]
> This is a snapshot of the wrong highlighting in Kile.

Thanks. This seems really weird.

Could you maybe create a text file which contains one of these words, let's say 'test.txt', then open a command line, and run the following command?

  aspell.exe -c <path to test.txt>

I suspect that aspell might also find spelling mistakes in that file.
Comment 5 Swarnendu Biswas 2011-01-24 04:57:57 UTC
Yes, you are correct. Aspell is highlighting the same set of words in a text file also.

This is the output with aspell -v command.

International Ispell version 3.1.20 <but really Aspell 0.50.3>
Comment 6 Swarnendu Biswas 2011-02-01 15:13:36 UTC
Hi Michel,

Any suggestions?
Comment 7 Michel Ludwig 2011-02-02 22:14:57 UTC
I thank it's best to forward this to the KDE on Windows team as there might be a problem with the aspell package.
Comment 8 Patrick Spendrin 2012-02-22 22:51:44 UTC
*** Bug 277337 has been marked as a duplicate of this bug. ***
Comment 9 Patrick Spendrin 2012-03-17 22:56:09 UTC
By looking at your test output, it seems that only long words are broken: all of the problematic ones are >10 chars.
Comment 10 Daniel Muth 2013-11-06 00:18:10 UTC
I am now using Kile on Windows for about one year and this bug annoys me since day 1. Since I made a fresh installation recently and this bug still persists, I spent some time today on digging a bit into it and I finally found a dirty workaround which I want to share here:

Note: In the following I assume "<kde>" as "C:\Program Files (x86)\KDE" and "<aspell>" as "C:\Program Files (x86)\Aspell\". (KDE may also have been installed to C:\ProgramData\KDE by default.)

0.) Make sure an English dictionary is selected for spellchecking in Kile, then close Kile.
1.) Download and install Aspell for Windows as well as the precompiled English dictionary pack from here: http://aspell.net/win32/
2.) Create backups of the following files and folders: <kde>\bin\aspell.dll, <kde>\bin\pspell.dll, <kde>\lib\aspell-0.60\ (complete folder)
3.) Copy aspell-15.dll and pspell-15.dll from <aspell>\bin\ to <kde>\bin\
4.) Delete aspell.dll and pspell.dll inside <kde>\bin\ and rename aspell-15.dll to aspell.dll and pspell-15.dll to pspell.dll
5.) Copy all files from <aspell>\data\ and from <aspell>\dict\ into <kde>\lib\aspell-0.60\ (overwrite files)
6.) Open Kile and enjoy a fixed spellchecking! :-)

Note: Changing to any installed non-English dictionary in Kile will lead to a crash after having applied this workaround. In order to get them work one either has to revert all changes made (with help of the backup) or one has to repeat the same procedure as for the English dictionaries (download & install them, then copy them into <kde>\lib\aspell-0.60\).
Comment 11 Bob English 2017-12-29 00:46:05 UTC
Well, I have this problem with Kate on Arch Linux (Antergos) with Plasma too, and have for more than a month.

Although I don't have more info on installed dependencies at this moment, I have checked and rechecked a few weeks ago, and all is as it should be according to official documentation and then some, and working just fine in other applications that share the same components, so something is broken, and not just an issue under Windows.

In my case I can pick the word from the list of correct spellings all I want, and the wavy red underline does not go away.
Comment 12 Flupp 2019-10-11 09:04:17 UTC
This looks very similar to Bug 386611.
Comment 13 Christoph Cullmann 2024-09-22 18:51:22 UTC
The KDE Windows Bugzilla product is no longer maintained.

If you have issues with some application on Windows, please report the issue at the bugtracker of the application.

If you have issues that still persist with Craft itself, please report them here:

https://invent.kde.org/packaging/craft/-/issues