Bug 171980

Summary: Kopete mangles links in chat window
Product: [Unmaintained] kopete Reporter: Josh Berry <des>
Component: generalAssignee: Kopete Developers <kopete-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: normal    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Josh Berry 2008-10-01 20:38:05 UTC
Version:           SVN r866422 (using Devel)
Compiler:          gcc 4.3 
OS:                Linux
Installed from:    Compiled sources

For a while now, Kopete has been replacing URLs typed in chat conversations with the text "linklink" (which links to the correct URL).  It has also been replacing actual links (e.g. <A href="http://www.google.com">Google</a> becomes <A href="http://www.google.com">link</a>).

The latter behavior is incorrect -- the sender clearly intended the link to appear with specific text, and Kopete should honor that.

Also, IMHO the former behavior (replacing bare URLs with "linklink", instead of just making them clickable) is obnoxious.  If someone sends the text "http://www.google.com" to me, I should see the text "http://www.google.com".

Kopete cannot correctly interpret, 100% of the time, whether some text should be interpreted as a link or not -- for example, "ssh foo@bar.com" will be replaced with "ssh linklink", as Kopete interprets "foo@bar.com" to be an email address.  The meaning of the original message has been obscured (and can no longer be copy-pasted, if necessary).

Also, while relatively minor, it's annoying to have to hover over the link and wait for the tooltip to see what URL the link is to.  Before, I could just read the text.

People nowadays know what URLs are, and what they are supposed to look like.  Hiding them only makes the sender's message less clear.  No other chat client does this, so I think ultimately this behavior will only result in confusion.

Please revert this change.  Or, add an option for it, and leave it disabled by default.

Thanks.
Comment 1 Matt Rogers 2008-11-18 04:44:57 UTC
this is dependant on the protocol. which protocol are you using?
Comment 2 Josh Berry 2008-11-18 17:22:25 UTC
I believe I've seen this behavior on multiple protocols, but I will check.  I definitely saw this on AIM, though.
Comment 3 Josh Berry 2008-11-24 06:56:08 UTC
Looks like this has been fixed on AIM (though in looking through svn log I can't find the commit :/).  Many thanks!
Comment 4 Josh Berry 2009-04-16 20:17:30 UTC
A recent "svn up" (on trunk) has caused this behavior to recur for me on both AIM and Yahoo.  Link text is once again being replaced with the word "link".

I'm not seeing any clear reason in "svn log" as to why this might be. :/
Comment 5 Josh Berry 2009-04-16 20:28:25 UTC
D'oh.  I feel silly -- this is actually caused by a buggy chat style.

Nevermind.