Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-62436

Add a way to get error info from QWebEnginePage::printToPdf

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.9.1
    • WebEngine
    • None

    Description

      Currently from the QWebEnginePage::pdfPrintingFinished() signal, we just get a boolean to indicate failure - did it write the PDF or not.

      It would be more useful to know why it failed via a proper error code or string so we can provide a better user experience - "It failed" vs. "Could not create the file foo/bar/baz.pdf" or "Invalid HTML input on line 729".

       

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qt_webengine_team Qt WebEngine Team
            asm Andy M
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes