Bug 119799

Summary: KNode Thread view get's confused by whitespace after linebreak in wrapped Subjects
Product: [Unmaintained] knode Reporter: Rolf Eike Beer <kde>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED REMIND    
Severity: normal    
Priority: NOR    
Version: 0.10   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Rolf Eike Beer 2006-01-09 14:12:03 UTC
Version:           0.10 (using KDE 3.5.0 Level "a" , SUSE 9.3 UNSUPPORTED)
Compiler:          gcc version 3.3.5 20050117 (prerelease) (SUSE Linux)
OS:                Linux (i686) release 2.6.11.4-21.9-smp

Do a testposting with whitespace in headers, then use an editor to change the Subject line in newsspool to look like:

Subject: foo bar
    test

This is a correctly wrapped subject line. In the article overview this is showed as "foo bar    test". When you open the article the correct string "foo bar test" is shown instead and the line in the article overview changes to the correct one.

Don't use the same KNode to write this article and to reproduce the bug, it looks like KNode uses it's own article instead of the one from the spool for the article overview so the bug is hidden.

An example of this happens in the thread starting with <IHipFa8DGHA.5784@florian2.feuerwehrmann.de> on server news.feuerwehrmann.de
Comment 1 Olivier Trichet 2009-05-10 23:13:42 UTC
Just test this, everything looks ok.
Comment 2 Rolf Eike Beer 2009-11-02 18:12:31 UTC
Message-ID: <87pr81bp4z.fsf@usenet.ankman.de>
Newsgroups: de.rec.sf.startrek
Subject: Re: Abrams ist offen =?iso-8859-1?Q?f=FCr?= neue "Star
 Trek"-TV-Serie

This still shows the problem, also some other postings from that thread.
Comment 3 Olivier Trichet 2009-11-29 19:11:37 UTC
Are you still using a KDE 3 version of knode ?

If yes, I'll close this bug because such version of knode is not supported anymore
Comment 4 Rolf Eike Beer 2009-11-29 19:59:48 UTC
Nope, KDE 4.3.3
Comment 5 Olivier Trichet 2009-12-05 23:42:06 UTC
Ok, I just come back to your report and see the problem!

This is actually correct behaviour... Let me explains:

When knode fetches the list of articles from the nntp server, it gets an overview of each article including its subject. For this particular article the subject which is received (on one line -- without wrapping) from the server is:
Subject: Re: Abrams ist offen =?ISO-8859-1?Q?f=FCr?= neue "Star   Trek"-TV-Serie
KNode can not guess that the superfluous spaces should be removed.

Then, when you select the article, its full content is fetched from the server and knode can properly decode the subject. This leads to the correction of the display inside the message list.

I see nothing to fix there.