Bug 72400

Summary: KNode composer silently gobbles line-terminal characters in message body
Product: knode Reporter: Tristan Miller <psychonaut>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:

Description Tristan Miller 2004-01-11 17:36:16 UTC
Version:            (using KDE KDE 3.1.4)
Installed from:    SuSE RPMs

There seems to be a problem with KNode's composer's line-breaking behaviour.  When the user types or pastes a long URL into the article body in the composer window, KNode will automatically break the line just after certain non-alphanumeric characters, such as slashes.  However, when the article is sent to the news server, the slash at the end of the line is removed.

An example of this behaviour can be observed in the article <2528217.IVfsQfhy8Q@ID-187157.news.dfncis.de> (available at Google Groups via http://groups.google.com/groups?selm=2528217.IVfsQfhy8Q%40ID-187157.news.dfncis.de&output=gplain).  The URL I typed in the article was supposed to be

http://dmoz.org/Computers/Artificial_Intelligence/Natural_Language/Chatterbots/

But KNode seems to have changed this to 

http://dmoz.org/Computers/Artificial_Intelligence/Natural_Language
Chatterbots/

(Note that the second-last slash is missing.)
Comment 1 Roberto Selbach 2004-01-11 18:23:31 UTC
This has been fixed a few months ago. We no longer strip the ending '/'.
Comment 2 Tristan Miller 2004-10-28 13:27:07 UTC
Either this bug was fixed only for the special case of slash characters, or it has reappeared in KNode 0.8.1.  Other non-alphanumeric characters which KNode considers as candidates for soft line breaks get silently gobbled.  It's a fairly serious bug, as it prevents people from posting source code into newsgroup messages.

Here's an example of how you can reproduce the behaviour:

0) Settings->Configure KNode->Posting News->Composer->Word wrap at column: 75

1) Article->Post to Newsgroup

2) Enter headers as appropriate

3) Select the following line with the mouse and paste it into the message body:

\def\CC{{C\nolinebreak[4]\hspace{-.05em}\raisebox{.35ex}{\scriptsize\bf++}}}

KNode splits this line between the characters `}{'.  Note that KNode will not permit you to cursor to the end of the first line.  The furthest you can go is the penultimate character. Clearly a related bug...

4) File->Send Now

5) Retrieve new articles and view the article you just posted, or view it in the `Sent' folder.  Note that the last character of the first line (i.e., the `}' of the `}{' is missing.

The bug also seems to be triggered with other characters after which KNode performs soft line breaks, such as `)'.
Comment 3 Tristan Miller 2005-04-30 21:47:18 UTC
Confirming bug (as described in Comment #2) still exists in KDE 3.4.
Comment 4 Andrew Crouthamel 2018-09-04 18:35:28 UTC
Hello! Sorry to be the bearer of bad news, but this project has been unmaintained for many years so I am closing this bug.