Bug 73322

Summary: Printing QWebPage to pdf prints part of last sentence to second page
Product: WebKit Reporter: Katja Marttila <katja.marttila>
Component: PrintingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Normal CC: raghuram88585, timo
Priority: P2    
Version: 419.x   
Hardware: Other   
OS: Windows 7   
Attachments:
Description Flags
Test project to reproduce problem
none
Another testcase none

Katja Marttila
Reported 2011-11-29 07:50:39 PST
Created attachment 116967 [details] Test project to reproduce problem Using the following implementation when printing to pdf, causes last sentence partially to be drawn to second page. QPrinter printer(QPrinter::HighResolution); printer.setOutputFormat(QPrinter::PdfFormat); printer.setOutputFileName(mOutputDestination); QWebPage::mainFrame()->print(&printer);
Attachments
Test project to reproduce problem (42.20 KB, application/x-zip-compressed)
2011-11-29 07:50 PST, Katja Marttila
no flags
Another testcase (8.34 KB, application/octet-stream)
2012-07-31 11:50 PDT, Timo Schlüßler
no flags
Timo Schlüßler
Comment 1 2012-07-31 11:49:52 PDT
The title of this bug should rather sound: "Printing a QWebPage splits the last line of a page up unto two pages". So I can reproduce this bug not only when printing to a pdf but also when printing to a printer. Sometimes it also happens, that a line is completly splitted up in its middle so that the upper half is placed on one page and the lower part on the next page. I attached another testcase to reproduce this bug.
Timo Schlüßler
Comment 2 2012-07-31 11:50:43 PDT
Created attachment 155598 [details] Another testcase
john thomas
Comment 3 2018-08-11 02:22:30 PDT
Sometimes we faced paper jamming issues and printer slow performance issues to Solving every problem to the related your Canon printer contact Canon Customer Service teams because they are able to solve queries of the customer. You can get more information through visiting this link https://www.printererrorrepair.com/canon-customer-service/
Alexey Proskuryakov
Comment 4 2022-07-29 10:47:45 PDT
The Qt port has been removed from WebKit, resolving.
Note You need to log in before you can comment on or make changes to this bug.