STEPS TO REPRODUCE
1. Select any email message
2. File/Print Preview.
Preview window is blank.
email message text
Linux/KDE Plasma: Gentoo
(available in About System)
KDE Plasma Version: 5.14.3
KDE Frameworks Version: 5.52.0
Qt Version: 5.11.3
We also confirm it for Kmail 5.9.1 (Plasma 5.14.3, Frameworks 5.51.0, Qt 5.11.3) in Debian Testing ...
I confirm it too with some html emails.
For plain text it's ok.
I'm getting blank preview on all messages, plain text and html.
We also on all messages, plain text and html ...
Same on Fedora and also crashed kmail without a usable dump each time doing File -> Print Preview:
Jan 31 15:26:55 ifr systemd: Created slice system-systemd\x2dcoredump.slice.
Jan 31 15:26:55 ifr systemd: Started Process Core Dump (PID 17269/UID 0).
Jan 31 15:26:56 ifr systemd-coredump: Core file was truncated to 2147483648 bytes.
Jan 31 15:26:57 ifr abrt-dump-journal-core: Failed to obtain all required information from journald
Jan 31 15:26:57 ifr systemd-coredump: Process 16616 (kontact) of user 1000 dumped core.
Stack trace of thread 16616:
#0 0x00007ff59b54f53f n/a (n/a)
Jan 31 15:27:00 ifr abrt-server: Error: No segments found in coredump './coredump'
Jan 31 15:27:01 ifr abrt-server: Can't open file 'core_backtrace' for reading: No such file or directory
Jan 31 15:27:05 ifr abrt-notification: Process 16616 (kontact) crashed in ??()
garry@ifr$ rpm -q kmail plasma-desktop qt5-qtbase
I confirm this is happening in Fedora 29 64bit KDE using Kmail and Kontact. Print Preview turns a blank page. Also, attempting a physical printed copy turns a physical blank page. I have all the latest updates. Printing does not work from Kmail via Kontact.
I suspect that this is a bug in the QtWebEngine print method. I am seeing this with QtWebEngine 5.11.3. Falkon also spits out a blank page when I try to print directly to the printer. Printing to PDF works in Falkon (which uses the dedicated printToPdf method in that case, which is a good idea, by the way, because it will produce a normal PDF, whereas using the normal print method will render that PDF to a bitmap per page and then produce a PDF containing the bitmap(s)), but not in KMail (which, I guess, always uses the generic print method).
This probably needs to be reported to Qt upstream if it isn't yet.
It would also be important to know whether it works with QtWebEngine 5.12.x. I cannot easily test it at this time because we have no QtWebEngine 5.12.x builds in Fedora yet.
I'm updating the summary because, sadly, not only the preview is blank.
Also now getting this on Kubuntu 19.04. Can confirm: "I'm getting blank preview on all messages, plain text and html."
Using KMail 5.8.3, KF5 5.56, Qt version 5.11.3.
(In reply to Kevin Funk from comment #9)
> Also now getting this on Kubuntu 19.04. Can confirm: "I'm getting blank
> preview on all messages, plain text and html."
> Using KMail 5.8.3, KF5 5.56, Qt version 5.11.3.
Did you try to compile in a file ?
I just tested here KMAil 5.10 Qt 5.13 and it's ok for me.
As I wrote, I think this is a bug in QtWebEngine 5.11. Looks like it's fixed in 5.13. Somebody needs to test 5.12.
I'm working with Gentoo Linux and today I updated to qt* 5.12 with qtwebengine-5.12.2. I confirm that both print preview and printing work again after updating to Qt version 5.12.
- kde-apps 18.12.3
- kde-frameworks 5.56.0
- kde-plasma 5.15.3
Got an update to qtwebengine Qt5.12.2 today on Fedora 29 and indeed printing from KMail works again!
this is not a kmail bug.
After I did my recent updates, Fedora 29 is now printing using kmail via Kontact.
*** Bug 407366 has been marked as a duplicate of this bug. ***
*** Bug 412180 has been marked as a duplicate of this bug. ***
*** Bug 412504 has been marked as a duplicate of this bug. ***