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

    • 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:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes