SUMMARY *** NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols. See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports *** STEPS TO REPRODUCE 1. Open a email that is more than one page long. 2. Select 'Export to PDF' OBSERVED RESULT The PDF file is missing message text at the bottom and top of each page, as if some of the message is being printed outside the 'print area'. A similar problem arises if the message is printed to PDF file. The Margins in File.Print.Properties has a default value of 0.14in, but increasing this to 1.14in or decreasing it to zero does not seem to solve the problem. EXPECTED RESULT The PDF file should show all of the message text, regardless of the margins. SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: KDE Neon 5.27 (available in About System) KDE Plasma Version: 5.27.10 KDE Frameworks Version: 5.114.0 Qt Version: 5.15.12 ADDITIONAL INFORMATION
I don't see bug. Perhaps you can send me a message which has this problem. We use qtwebengine for exporting to pdf => if there is a bug it's a qtwebengine bug
I confirm it
Laurent, Apologies for not seeing your messages earlier. Do I understand you have the information you need? Thanks and regards. P
Hi Laurent, I don't know whether it's the same issue or something entirely different, but I also get the problem with 'Print' and 'Print Preview'. I get it with kmail 6.0.0, too. Thanks and regards
Git commit 0fd986f887655d73df3505c612856fd3d2430c58 by Laurent Montel. Committed on 25/03/2024 at 06:58. Pushed by mlaurent into branch 'release/24.02'. Allow to change print layout when we export as pdf M +15 -1 webengineviewer/src/webengineexportpdfpagejob.cpp https://invent.kde.org/pim/messagelib/-/commit/0fd986f887655d73df3505c612856fd3d2430c58
Git commit ec07976365bce3707dd9c7f69a58d0b5b67fd0fd by Laurent Montel. Committed on 25/03/2024 at 07:13. Pushed by mlaurent into branch 'release/24.02'. fix change layout when we print message M +10 -3 messageviewer/src/viewer/printmessage.cpp M +3 -2 messageviewer/src/viewer/printmessage.h https://invent.kde.org/pim/messagelib/-/commit/ec07976365bce3707dd9c7f69a58d0b5b67fd0fd