Bug 79681 - Spell check language change is ignored
Summary: Spell check language change is ignored
Status: RESOLVED FIXED
Alias: None
Product: kmail
Classification: Applications
Component: composer (show other bugs)
Version: 1.6.1
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 85463 98258 109572 121530 121755 129175 131459 141388 158040 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-04-15 10:56 UTC by eike
Modified: 2008-03-13 19:49 UTC (History)
9 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description eike 2004-04-15 10:56:28 UTC
Version:           1.6.1 (using KDE KDE 3.2.2)
Installed from:    Debian testing/unstable Packages
OS:          Linux

The as-you-type spell checker does not take notice of a language change until you open a new email.

Thank you very much for your efforts.

Best regards,
eike
Comment 1 Thomas McGuire 2004-06-20 11:21:44 UTC
That works for me.
I use View->Dictionary to be able to change it on the fly, it seems to work (e.g. different words are marked as red or spell check disabled if text long and wrong language).
However, if I change it there (dropdown list above "To:"-field) and chose Tools->Spelling, it is not changed there.
Comment 2 Gilles Schintgen 2006-01-23 14:58:59 UTC
In KMail 1.9 changing the language setting via Settings/Spellchecker seems to be completely broken. The composer *never* uses this setting. Even after closing KMail and reopening it. Using View/Dictionary works perfectly fine. (Thanks for the tip!)
Comment 3 Ismail Onur Filiz 2006-04-25 06:59:34 UTC
*** Bug 85463 has been marked as a duplicate of this bug. ***
Comment 4 Allen Winter 2006-11-06 21:28:21 UTC
*** Bug 109572 has been marked as a duplicate of this bug. ***
Comment 5 Allen Winter 2006-11-06 21:28:50 UTC
*** Bug 121755 has been marked as a duplicate of this bug. ***
Comment 6 Allen Winter 2006-11-06 21:29:21 UTC
*** Bug 98258 has been marked as a duplicate of this bug. ***
Comment 7 Thomas McGuire 2007-02-09 12:40:13 UTC
*** Bug 141388 has been marked as a duplicate of this bug. ***
Comment 8 Thomas McGuire 2007-03-17 13:25:45 UTC
*** Bug 129175 has been marked as a duplicate of this bug. ***
Comment 9 Thomas McGuire 2007-03-17 13:29:09 UTC
*** Bug 131459 has been marked as a duplicate of this bug. ***
Comment 10 firepol 2007-07-04 23:56:35 UTC
Dear developers, this bug is quite important (OMO) so I will vote for it.

I confirm (see comment #2) that in kmail 1.9.7 if I select the language from the "Tools" menu > Spelling it doesn't change anything. I just lost some time (and happiness) to discover that I could simply change language using the "View" > "Dictionary" option...

Solution 1) remove the "spellchecker..." entry in the "Settings" menu. As it's not working and only confusing for the end user. It makes the end user become crazy and frustrated (!).

Solution 2) Fix it ;)

This bug is more than 3 years old. If we think about quality of the product, then at LEAST use solution 1) and when you have time put again the entry in the menu (fixed) in a future release. Don't keep it like that please.
Comment 11 firepol 2007-07-04 23:57:31 UTC
*** This bug has been confirmed by popular vote. ***
Comment 12 Thomas McGuire 2007-07-12 23:39:11 UTC
*** Bug 121530 has been marked as a duplicate of this bug. ***
Comment 13 firepol 2007-09-13 21:08:37 UTC
I opened the composer and configured from the "Settings" > Spellchecker as dictionary: "Italian", encoding "UTF8", client "Aspell". (I tried also other encoding, other client) but if I open a new composer it's always "Aspell default" instead of being the language I've chosen in the settings.

There is no way to configure a default language to be different from the locale/system/LC_ALL/whatever language. E.g. I like to have my system configured in English, but as I write 90% of my e-mails in Italian I'd like to configure the spellchecker to be, by default, in Italian. I've found no way to do that.

Looking forward to see this bug solved. for KDE 4 maybe you'll fix this? Please do, pleeeease ;)
Comment 14 Andreas Gungl 2007-09-14 07:16:22 UTC
Am Thursday 13 September 2007 schrieb firepol:
> There is no way to configure a default language to be different from the
> locale/system/LC_ALL/whatever language. E.g. I like to have my system
> configured in English, but as I write 90% of my e-mails in Italian I'd
> like to configure the spellchecker to be, by default, in Italian. I've
> found no way to do that.


A workaround is to define several identities in KMail which use different 
languages. then you can switch the identity in the composer. This will make 
the spell check aware of the language you prefer in that moment. Works here 
with KDE 3.5.
Comment 15 Pacho Ramos 2007-10-07 19:49:50 UTC
Still valid, Does this work in any distribution?

(for testing distribution patches for this three years old bug)

Thanks a lot
Comment 16 Di.Ego.R Kobylkin 2007-12-13 12:23:51 UTC
Oh my god, the bug is TREE YEARS old! Is there a case to keep the checking and highliting dictionaries uncorrellated? The way it is now it is really annoying.
Comment 17 Thomas McGuire 2008-02-27 21:40:50 UTC
*** Bug 158040 has been marked as a duplicate of this bug. ***
Comment 18 Thomas McGuire 2008-03-13 19:49:33 UTC
SVN commit 785309 by tmcguire:

Fix various spellcheck/highlighting issues:

- Decouple quote highlighting from spell highlighting, now
  quote highlighting works again when spellchecking is disabled.

  Unfortunatley, this is a bit hacky, as the methods from KTextEdit
  could not be reused, because they weren't virtual. KMeditor hides
  spellcheck-related methods inherited from KTextEdit and implements
  its own, properly working ones.

- Move more spellcheck code into KMeditor
- Many bugfixes related to spelling
- In KMail, sync languages used for spelling correctly between the
  highlighter, the config dialog and the spell dialog. This needs
  kdelibs 4.0.67 to work properly.

Also, spell checking in HTML mode now works, but again, you need an 
updated kdelibs.

BUG: 79681
BUG: 110835
BUG: 126361
FEATURE: 141377



 M  +14 -23    kmail/kmcomposereditor.cpp  
 M  +0 -2      kmail/kmcomposereditor.h  
 M  +21 -30    kmail/kmcomposewin.cpp  
 M  +1 -5      kmail/kmcomposewin.h  
 M  +4 -2      knode/kncomposer.cpp  
 M  +4 -4      knode/kncomposereditor.cpp  
 M  +10 -1     libkdepim/dictionarycombobox.cpp  
 M  +1 -0      libkdepim/dictionarycombobox.h  
 M  +51 -37    libkdepim/kemailquotinghighter.cpp  
 M  +37 -11    libkdepim/kemailquotinghighter.h  
 M  +74 -4     libkdepim/kmeditor.cpp  
 M  +79 -3     libkdepim/kmeditor.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=785309