Bug 129926 - auto spellcheck the subject line (QLineEdit)
Summary: auto spellcheck the subject line (QLineEdit)
Status: RESOLVED FIXED
Alias: None
Product: kdelibs
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 1.9.1
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Stephan Kulow
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-27 23:15 UTC by Roger Larsson
Modified: 2012-12-03 17:52 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 4.8


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Roger Larsson 2006-06-27 23:16:32 UTC
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.
Comment 1 Ingo Klöcker 2006-06-27 23:35:27 UTC
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.
Comment 2 Roger Larsson 2006-06-28 00:08:46 UTC
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.
Comment 3 Ingo Klöcker 2006-06-28 00:29:53 UTC
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.
Comment 4 Roger Larsson 2011-09-16 09:29:11 UTC
Still valid in kdelibs or should it be moved to kmail / kontact?
Comment 5 Laurent Montel 2012-12-03 17:52:01 UTC
Fixed in 4.8