Version: 1.9.1 (using KDE 3.5.1 Level "a" , SUSE 10.1) Compiler: Target: x86_64-suse-linux OS: Linux (x86_64) release 2.6.16.13-4-default Related to bug #42098 First I thought that kmail did not spellcheck the subject line at all. But then I noticed that it does: Tools->Spell check... Anyway automatic spellcheck should check everything that is checked with the manual command and indicate errors like it does for the body window.
I'm sorry, but I have to downgrade this to a wish. It is currently technically impossible (QLineEdit doesn't support coloring single words and this doesn't seem to have changed in Qt 4). For the same reason Konqueror also only has autospellchecking in multiline text input fields but not in single line input fields. The best example is this bugzilla page where the "Additional Comments" are spellchecked while the "Summary" is not spellchecked. Maybe I should even reassign this to kdelibs, but I'll leave it here so that other people missing this in KMail can easier find it.
This is not a wish - it is a bug! Auto spellcheck SHOULD spellcheck every field that is spellchecked during a manual spellcheck. I think that downgrading it because it currently can't be done is wrong. It should be fixed in the libraries - KLineEdit? Qt4? My priority is to get this fixed, not to simplify finding this bug for kmail users - moving it to kdelibs. Or is it already possible to use a multiline edit but limit it to one line? Then applications with auto spell check option should use that for fields that want spell checking.
I had a quick look at using QTextEdit instead of QLineEdit. One would have to handle the Return key to prevent linebreaks. That's not difficult. But I didn't find an easy way to restrict the height to a single line. I'm also a bit concerned about the different memory requirements of a QTextEdit with QSyntaxHighlighter instead of a QLineEdit. Though for KMail's composer it wouldn't make much difference since it only has one line edit which would be replaced by a single-line QTextEdit.
Still valid in kdelibs or should it be moved to kmail / kontact?
Fixed in 4.8