[Webkit-unassigned] [Bug 61271] New: [Qt] printing to a printer produces only blank pages

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon May 23 04:50:33 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=61271

           Summary: [Qt] printing to a printer produces only blank pages
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Windows XP
            Status: UNCONFIRMED
          Severity: Critical
          Priority: P2
         Component: Printing
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: timo at schluessler.org


When printing to a printer via QWebFrame::print(QPrinter *) the printer just prints blank white pages. When printing to a file (ps or pdf), everything gets printed fine.

Testcase:
int main(int argc, char *argv)
{
   QApplication app(argc, argv);
   QWebPage page;
   QWebFrame *frame = page.mainFrame();
   frame->setHtml("<html><body><p>test</p></body></html>");
   QPrinter printer;
   frame->print(&printer);
}
Printing anything else works very well, so that's the reason for me posting the bug here but not on qt's bugtracker.

The bug is known to exist in Qt 4.7.2/3 but in 4.7.0 it worked.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list