Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
6.6.1
-
None
-
-
199730bd4 (dev), 8f017c2d9 (6.7), 213a569e9 (6.6), b61e8a3d7 (6.5)
Description
Hello,
as the titel describes: QML WebEngineView has the printToPdf() function. But the paper formats in the resulting documents are wrong. Exporting a document with QML WebEngineView via printToPdf(filename, WebEngineView.A4) results in a PDF document with the US-letter format, exporting A3 results in A5, while exporting A5 is resulting in A6 format.
For me it seems the enumeration in the background might be filled with wrong data.
There is a minimal example added.
Thank you very much.
Attachments
For Gerrit Dashboard: QTBUG-120218 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
526537,3 | Correct PrintedPageSizeId to match QPageSize::PageSizeId | dev | qt/qtwebengine | Status: MERGED | +2 | 0 |
533818,2 | Correct PrintedPageSizeId to match QPageSize::PageSizeId | 6.7 | qt/qtwebengine | Status: MERGED | +2 | 0 |
534001,2 | Correct PrintedPageSizeId to match QPageSize::PageSizeId | 6.6 | qt/qtwebengine | Status: MERGED | +2 | 0 |
534120,2 | Correct PrintedPageSizeId to match QPageSize::PageSizeId | 6.5 | qt/qtwebengine | Status: MERGED | +2 | 0 |