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

[Qt5.15.4][QWebEngine]QWebEnginePage::print() function printing a grey paper while printing a PDF in Qt5.15.4

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: P1: Critical
    • Resolution: Unresolved
    • Affects Version/s: 5.15.4, 5.15.7, 6.2.2
    • Fix Version/s: 5.15, 6.2
    • Component/s: WebEngine
    • Environment:
      Ubuntu virtualbox Ubuntu-18.04.1
    • Platform/s:
      All

      Description

      QWebEnginePage::print() function is printing a grey paper while printing a PDF in Qt5.15.4 &  Qt5.15.6

      Attaching the test application along with the page printed(test_pdf.pdf). 

      The test application does the following:

      1. create a QWebEngineView with the following setting : PluginsEnabled, FullScreenSupportEnabled, PdfViewerEnabled.
      2. load a pdf file to QWebEngineView 
      3. print the pdf file invoking 'QWebEnginePage::print()'

      The page printed is a grey paper.

       

      Additional Info:

      The same test application is printing proper page in Qt5.15.2.

       

       

        Attachments

        1. printpdf.tar
          10 kB
        2. test_pdf.pdf
          1.96 MB

          Issue Links

          For Gerrit Dashboard: QTBUG-98941
          # Subject Branch Project Status CR V

            Activity

              People

              Assignee:
              davidsz Szabolcs David
              Reporter:
              kuladeepr Kuladeep Rayalla
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:

                  Gerrit Reviews

                  There are no open Gerrit changes