Bug 345360

Summary: Sometimes hides parts of a HTML-only message when rendered as plain-text
Product: [Applications] kmail2 Reporter: Kevin Funk <kfunk>
Component: UIAssignee: kdepim bugs <kdepim-bugs>
Status: ASSIGNED ---    
Severity: normal CC: kde.loser137, montel, null, sknauss
Priority: NOR    
Version: 5.12.3   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Body part of the HTML message
mbox file

Description Kevin Funk 2015-03-20 12:58:50 UTC
See attached body of the HTML mail.

When viewed as HTML mail, it properly shows the text:
"""
Dear User, 

We have updated our Privacy Policy and Terms of Service. 

yada yada, ...
"""

In text-mode (the default I'm using) HTML tags are stripped (cool), but some parts of the text as well (not so cool):
"""
Dear User, 
Revised Privacy Policy [1]
Summary of Changes to Privacy Policy [2]
Comparison [3]
Revised Terms of Service [4]
Summary of Changes to Terms of Service [5]
Comparison [6]

yada yada
...
"""

=> The second paragraph is not shown in text mode

Reproducible: Always
Comment 1 Kevin Funk 2015-03-20 13:02:11 UTC
Created attachment 91653 [details]
Body part of the HTML message
Comment 2 Laurent Montel 2015-03-23 06:48:26 UTC
Could you attach it as mbox please ?
Comment 3 Kevin Funk 2015-03-23 07:04:36 UTC
Created attachment 91694 [details]
mbox file
Comment 4 Laurent Montel 2015-03-23 07:23:10 UTC
Thanks I will investigate soon.
Comment 5 Denis Kurz 2017-06-23 19:58:02 UTC
This bug has never been confirmed for a KDE PIM version that is based on KDE Frameworks (5.x). Those versions differ significantly from the old 4.x series. Therefore, I plan to close it in around two or three months. In the meantime, it is set to WAITINGFORINFO to give reporters the oportunity to check if it is still valid. As soon as someone confirms it for a recent version (at least 5.1, ideally even more recent), I'll gladly reopen it.

Please understand that we lack the manpower to triage bugs reported for versions almost two years beyond their end of life.
Comment 6 kde.loser137 2017-06-23 20:20:55 UTC
I can reproduce the bug with the mbox file.

Versions:
KMail 5.5.2
KDE Frameworks 5.35.0
Qt 5.9.0
Comment 7 Christoph Feck 2017-06-27 15:57:37 UTC
Thanks for the update; changing status.
Comment 8 Sandro Knauß 2020-04-11 12:48:38 UTC
I can confirm that this issue still exists with 5.12.3
Comment 9 Laurent Montel 2020-04-11 13:14:37 UTC
I confirm it too.
I will investigate it.
Comment 10 Laurent Montel 2020-04-11 13:21:36 UTC
Ok I found where is the bug.
I work on a bug fix
Comment 11 Laurent Montel 2020-04-15 09:50:17 UTC
I need to debug grantlee lib for it