Bug 86682 - IRC channel and spellcheck - misspell highlight is sent to server
Summary: IRC channel and spellcheck - misspell highlight is sent to server
Status: RESOLVED FIXED
Alias: None
Product: kopete
Classification: Unmaintained
Component: Chat Window (other bugs)
Version First Reported In: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Kopete Developers
URL:
Keywords:
: 110788 121524 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-08-06 05:32 UTC by Brian S. Stephan
Modified: 2008-03-19 08:22 UTC (History)
2 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 Brian S. Stephan 2004-08-06 05:32:59 UTC
Version:            (using KDE Devel)
Installed from:    Compiled sources
Compiler:          gcc version 3.4.1 20040803 (Gentoo Linux 3.4.1-r2, ssp-3.4-2, pie-8.7.6.5)
OS:                Linux

When Auto Spell Check is turned on for the input area of Kopete's IRC channel window, it highlights misspelled words (good) but it then includes the highlight formatting, like red text for example, as part of the message (bad).

Here's an image:
http://bssteph.irtonline.org/images/stardotstar/kopete-irc-bug.jpg

On the left is Kopete, where I'm inputting text and sending. On the right is ksirc. ksirc is not doing any spellchecking, that red is sent by Kopete.

Normally the red should not be sent, of course.

(aside: there is another bug present: two different typos (highlighted) are being sent as the first one twice, but I assume that will go away with this fix)
Comment 1 Michel Hermier 2004-08-06 20:01:48 UTC
For me it's a spell check bug.
Can someone check if it also happen with another color compliant protocol?

Comment 2 Brian S. Stephan 2004-08-06 22:09:01 UTC
It doesn't seem to happen on MSN.

Here I am talking to someone on MSN and triggering typos. He sees the text as the base color.
http://bssteph.irtonline.org/images/stardotstar/kopete-irc-bug-more.jpg

I hope this helps (and that this is what you meant).
Comment 3 Jason Keirstead 2004-08-06 22:24:43 UTC
This is an old bug. What version of Kopete is it?

Kopete in KDE 3.3 RC(x) should not have this problem.


Comment 4 Michel Hermier 2004-08-06 22:25:58 UTC
From the second screen shot I would say that MSN don't support text *live* coloring.
You can't set colors to some part of the text, like you can do in IRC.
Is there any other protocols that support that?

Comment 5 Brian S. Stephan 2004-08-06 22:41:18 UTC
Jason Keirstead:
"Kopete 0.9.0 (Using KDE 3.3.0)"
Built from updated CVS checkout done last night some time.

Michel Hermier:
Ah, indeed, you are right, there can only be one color with MSN.
The other networks I use (AIM and ICQ) have the color button grayed out, but I don't know of anything else that does colors IRC style.

When I tested private messages through IRC I noticed that if I type something into the input box and then bring up the spell check dialog box, the quoted text is actually HTML!

<html><head><meta name="qrichtext" conte
Unknown word: html

etc., etc.

Perhaps this is a spell check bug after all, if so I am sorry for the incorrect bug report.
Comment 6 Brian S. Stephan 2004-08-06 22:47:58 UTC
Oh, I meant to add the text being checked is only HTML with the IRC gui, in case it were ambiguous. MSN and other things spellcheck correctly.
Comment 7 Michel Hermier 2004-08-06 22:51:38 UTC
> Perhaps this is a spell check bug after all, if so I am sorry for the incorrect bug report.
No problem you can't know all of what's behind the scene :)
For me it's a spell check problem, but now the question is how to solve that.

Comment 8 Jason Keirstead 2004-08-09 04:33:42 UTC
You are not supposed to be able to do the spell check and use RTF text at the same time. That is why I said it was an old bug. But apparantly it is still around.

Comment 9 Jason Keirstead 2004-08-09 04:34:38 UTC
There is no spell check plugin anymore.

THe problem would be in KopeteRichTextEditPart
Comment 10 Richard Smith 2004-11-08 22:16:43 UTC
Confirmed in CVS.
Comment 11 Jason Keirstead 2004-11-09 13:55:27 UTC
How are you using RTF edit and spell check at the same time? They are supposed to be mutually exlisive for this very reason.
Comment 12 Richard Smith 2004-11-09 14:56:36 UTC
On Tuesday 09 November 2004 12:55, Jason Keirstead wrote:
> How are you using RTF edit and spell check at the same time?

Right click on edit box. Click Auto Spell Check.
Comment 13 Jason Keirstead 2004-11-09 16:09:35 UTC
On Tuesday 09 November 2004 9:56 am, Richard Smith wrote:
> On Tuesday 09 November 2004 12:55, Jason Keirstead wrote:
> > How are you using RTF edit and spell check at the same time?
>
> Right click on edit box. Click Auto Spell Check.

Hrm. We need a way to disable that menu in KTextEdit - we disable it via all 
other ways.
 
We may have to override createPopupMenu again and remove the item / replace it 
with our own. Either that or edit kdelibs.

Comment 14 Olivier Goffart 2005-08-27 10:12:55 UTC
*** Bug 110788 has been marked as a duplicate of this bug. ***
Comment 15 Olivier Goffart 2006-03-11 10:35:42 UTC
*** Bug 121524 has been marked as a duplicate of this bug. ***
Comment 16 Olivier Goffart 2006-04-17 10:43:25 UTC
now, spellchecking is disabled when richtext is enabled, so it shouldn't happen anymore.
Comment 17 Nicolas L. 2008-03-19 08:21:53 UTC
this is still valid on kopete of kde 3.5.9.
As you told we have to disable richtext, but if use a wrong word   "bonjou"   it comes to red and the contact receive this word in red.


Someone can reopen this bug as this is still valid ?


thanks