Bug 364293 - Automatic spell checking is not underlining incorrect words
Summary: Automatic spell checking is not underlining incorrect words
Status: RESOLVED FIXED
Alias: None
Product: kate
Classification: Applications
Component: part (other bugs)
Version First Reported In: unspecified
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-14 06:48 UTC by edA-qa mort-ora-y
Modified: 2019-05-18 18:39 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description edA-qa mort-ora-y 2016-06-14 06:48:18 UTC
I turn on automatic spell checking and no words are underlined.

This used to work in previous versions.

Reproducible: Always

Steps to Reproduce:
1. Write some text, include incorrectly spelled words
2. Turn on automatic spell checking


Actual Results:  
No underlining of incorrect words.

Expected Results:  
Incorrect words should be underlined.

The interactive spell checking does find the invalid word.

Version 15.12.3
Using:
KDE Frameworks 5.18.0
Qt 5.5.1 (built against 5.5.1)
The xcb windowing system
Comment 1 edA-qa mort-ora-y 2016-06-14 06:52:16 UTC
This may be a variation of https://bugs.kde.org/show_bug.cgi?id=335079
If I cycle through the fonts there were at least 1 or 2 where the underlining showed up. But note my sample does not involve any non-ASCII characters, and the underlining doesn't show up for several mono-spaced fonts as well.
Comment 2 laniel_francis 2016-06-23 11:16:43 UTC
I have the same problem with the same version of Kate but on Kubuntu xenial xerus.

For some font the underline appears, but for some font it appears only for certain size.
For example it appears with Oxygen Mono if the size font is strictly inferior to 13 :
https://framapic.org/E3o4RcGqIEW8/VH4eyUbg22ZG.png
Comment 3 Kevin Colyer 2016-06-28 13:03:55 UTC
I have a problem like this - I think it is a size issue. If I have an incorrectly spelt word that is underlined in red, if I use ctrl + to increase font size there comes a point when the red underline disappears. It returns if you decrease font size with ctrl -
Comment 4 Buovjaga 2016-07-11 12:14:58 UTC
edA-qa: do you confirm the font size effect?
Comment 5 edA-qa mort-ora-y 2016-07-11 12:20:50 UTC
@buovjaga: This is most likely the font rendering issue I linked, but it might not be exactly the same.
Comment 6 Buovjaga 2016-07-11 12:26:07 UTC
Let's set to confirmed due to the other commenters.
Comment 7 laniel_francis 2016-08-17 22:20:44 UTC
Sorry for bumping but the bug is also present in kwrite
Comment 8 Christoph Cullmann 2019-05-18 18:39:37 UTC
Hmm, this works for me again since some releases.
There were issues with some font sizes in the past.
(and it still might be problemantic if you do HiDPI scaling with x.y factors, but that is an other bug)