Created attachment 136741 [details] Example SUMMARY Since last update the pdf export or printing of documents inside a HTML View generate at least a two paged document. First page contains the regular mailheader, second and following pages the mail content as HTML STEPS TO REPRODUCE 1. get a e-mail with html content 2. activate the html view 3. now print or export as pdf OBSERVED RESULT As described above, the mail header is on the first page, the rest on the folliowing pages. EXPECTED RESULT SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: (available in About System) KDE Plasma Version: KDE Frameworks Version: Qt Version: ADDITIONAL INFORMATION
Sorry, I forget the rest. SOFTWARE/OS VERSIONS Arch Linux AMD64 Linux/KDE Plasma: 20.12.3 KDE Plasma Version: KDE Frameworks Version: 5.80.0 Qt Version: 5.15.2 ADDITIONAL INFORMATION I tested a view earlier packages and realized that the error started with qt5-webengine-5.15.3-2 and later. qt-webengine-5.15.2-5 was working as expected.
Could you verify with last qt5 please ? For me it seems ok here. Regards
Sorry for the late reply. Just tested the problem with recent arch linux (Kmail Version 5.17.1 (21.04.1)) and qt5-webengine (extra/qt5-webengine 5.15.3-5 (qt qt5) [Installiert]). I had some problems to reproduce the error printing to a pdf-file: 1. without html-preview: every email looks fine 2. with html-preview: a) only html inside the e-Mail -> pdf-file looks fine (tested around 5 mails) b) with normal text and html-text inside the e-mail with two parts there is a split between the header and the text -> pdf-file looks broken Here are some informations about the e-mail data: ... Date: Tue, 16 Mar 2021 10:56:48 +0100 Message-ID: <007201d71a4a$aeba3560$0c2ea020$@scheibinox.de> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0073_01D71A53.1080E750" X-Mailer: Microsoft Outlook 14.0 Thread-Index: AdcaSmJJZSlvOSdMQYyVmhHHmOZUuQ== Content-Language: de This is a multipart message in MIME format. ------=_NextPart_000_0073_01D71A53.1080E750 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Sehr geehrter Herr ... ------=_NextPart_000_0073_01D71A53.1080E750 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable <html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr= osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:= //www.w3.org/TR/REC-html40"><head><meta http-equiv=3DContent-Type content= =3D"text/html; charset=3Dutf-8"><meta name=3DGenerator content=3D"Microsoft= Word 14 (filtered medium)"><style><!-- /* Font Definitions */ @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0cm; margin-bottom:.0001pt; font-size:10.0pt; font-family:"Calibri","sans-serif"; mso-fareast-language:EN-US;} a:link, span.MsoHyperlink {mso-style-priority:99; color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {mso-style-priority:99; color:purple; text-decoration:underline;} span.E-MailFormatvorlage17 {mso-style-type:personal-compose; font-family:"Calibri","sans-serif"; color:windowtext;} .MsoChpDefault {mso-style-type:export-only; font-size:10.0pt; font-family:"Calibri","sans-serif"; mso-fareast-language:EN-US;} @page WordSection1 {size:612.0pt 792.0pt; margin:70.85pt 70.85pt 2.0cm 70.85pt;} div.WordSection1 {page:WordSection1;} --></style><!--[if gte mso 9]><xml> <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext=3D"edit"> <o:idmap v:ext=3D"edit" data=3D"1" /> </o:shapelayout></xml><![endif]--></head><body lang=3DDE link=3Dblue vlink= =3Dpurple><div class=3DWordSection1><p class=3DMsoNormal><span style=3D'fon= t-family:"Arial","sans-serif"'>Sehr geehrter Herr
Hi there, did just an update to plasma 5.22, but the error remains the same. kde-framework 5.82.0 qt5-webengine 5.15.4-3 kmail 21.04.2-1