Summary: | Multiline attachment's Content-Descriptions mess up middle pane (tree) | ||
---|---|---|---|
Product: | [Unmaintained] kmail | Reporter: | Alain Knaff <kde> |
Component: | general | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | 1.5 | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Alain Knaff
2003-03-29 20:45:37 UTC
I just upgraded to KDE 3.1.1. The behavior has changed, but however the bug is not completely gone. Now the beginning of the "Description" line is displayed ok ("Headers of original mail which triggered this messag"). However, as soon as I make the window wide enough to display the final "e" of message, this is displayed half a line up. If I make it even wider, nothing follows (i.e. the continuation line "(for spam/abuse tracking)" is never seen). But, it seems to depend on how fast I resize the description column: if I resize it fast enough, more letters are shown half a line up. Moreover, after a window refresh (triggered by covering the message structure by another window, and then removing it), behavior is as before: first line on top of second. Btw, just noticed: the example above was mangled by bugzilla: the continuation line is supposed to start with 4 spaces (else it wouldn't be a legal continuation line). Would it be possible to add a "preview" mode to bugzilla, to help spot such formatting issues early? Subject: kdepim/kmail CVS commit by kloecker: Fix bug 56592: Displaying folded Content-Description in MIME tree viewer is broken CCMAIL: 56592-fixed@bugs.kde.org M +3 -0 partNode.cpp 1.33 --- kdepim/kmail/partNode.cpp #1.32:1.33 @@ -13,4 +13,5 @@ #include "kmmimeparttree.h" #include <mimelib/utility.h> +#include <qregexp.h> /* @@ -330,4 +331,6 @@ void partNode::fillMimePartTree( KMMimeP cntSize = size; } + // remove linebreak+whitespace from folded Content-Description + cntDesc.replace( QRegExp("\\n\\s*"), " " ); kdDebug(5006) << " Inserting one item into MimePartTree" << endl; |