Bug 160909 - Auto spell check checkbox and Settings/Toolbars/Format Toolbar doesn't save state
Summary: Auto spell check checkbox and Settings/Toolbars/Format Toolbar doesn't save s...
Status: RESOLVED FIXED
Alias: None
Product: kopete
Classification: Applications
Component: Chat Window (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Kopete Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-16 19:08 UTC by benedict
Modified: 2008-07-13 19:15 UTC (History)
0 users

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 benedict 2008-04-16 19:08:22 UTC
Version:           0.50.50 (using 4.00.69 (KDE 4.0.69 >= 20080410), Gentoo)
Compiler:          x86_64-pc-linux-gnu-gcc
OS:                Linux (x86_64) release 2.6.22-gentoo-r9

1) click on any contact in contact list to open chat window
2) right click on textarea to see popup menu
3) check "Auto spell check" checkbox

Now all right, spellins is checking

4) close chat window
5) click on same contact to see chat window again
6) right click on textarea to see .. "Auto spell check" checkbox unchecked again :(

Same problem with "Format toolbar" from Settings -> Toolbars menu (from chatwindow menubar)

Both options can be setted in ~/.kde/share/config/kopeterc, for existing contacts, by replacing

EnableAutoSpellCheck=false with EnableAutoSpellCheck=true
and
EnableRichText=true with EnableRichText=false

but it's little uncomfortably

Moreover, global option Settings -> Configure -> Behavior -> Chat -> Enable automatic spell checking (spellCheck=true in ~/.kde/share/config/kopeterc) seems doesn't work too.
Comment 1 Dennis Nienhüser 2008-04-27 13:00:58 UTC
Confirmed for SVN version.
Comment 2 Dennis Nienhüser 2008-05-11 20:09:26 UTC
To elaborate a bit, the "spell check" option available from right clicking is added by the rich text widget, while the option in the menu is provided by Kopete and depends on the rich text setting: Only if rich text is disabled, spell checking is allowed as otherwise the highlighting (red color) might get send with the message.
Comment 3 Roman Jarosz 2008-07-13 19:14:55 UTC
SVN commit 831935 by rjarosz:

Allow spell-checking on html/rtf text.
Save spellchecker settings for every chat window.
Use global spellchecker settings (enable/disable).

Patch checked and updated by Dennis Nienhüser.

BUG: 136193
BUG: 129983
BUG: 160909



 M  +0 -27     chattexteditpart.cpp  
 M  +0 -15     chattexteditpart.h  
 M  +2 -2      chatview.cpp  
 M  +12 -35    kopetechatwindow.cpp  
 M  +3 -2      kopetechatwindow.h  
 M  +10 -6     krichtexteditpart.cpp  
 M  +12 -0     krichtexteditpart.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=831935
Comment 4 Roman Jarosz 2008-07-13 19:15:34 UTC
SVN commit 831936 by rjarosz:

Backport commit 831935.
Allow spell-checking on html/rtf text.
Save spellchecker settings for every chat window.
Use global spellchecker settings (enable/disable).

Patch checked and updated by Dennis Nienhüser.

CCBUG: 136193
CCBUG: 129983
CCBUG: 160909



 M  +0 -27     chattexteditpart.cpp  
 M  +0 -15     chattexteditpart.h  
 M  +2 -2      chatview.cpp  
 M  +12 -35    kopetechatwindow.cpp  
 M  +3 -2      kopetechatwindow.h  
 M  +10 -6     krichtexteditpart.cpp  
 M  +12 -0     krichtexteditpart.h  


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