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

pdf viewer is not working on nano browser and simple browser sample apps

    XMLWordPrintable

Details

    • Windows

    Description

      <Issue>
      According to https://doc.qt.io/qt-6/qtwebengine-features.html#pdf-file-viewing, both nano brower(https://doc.qt.io/qt-6/qtwebengine-webenginequick-quicknanobrowser-example.html) and simple brower(https://doc.qt.io/qt-6/qtwebengine-webenginewidgets-simplebrowser-example.html) sample apps should be able to display pdf files. However, they don't; they just show the gray screen on the browser.

      <Reproduction Steps>

      1. Open either nano browser or simple browser sample and configure & run it with Desktop Qt 6.8.0 MSVC2022 64bit Kit.
      2. Drag and drop the attached pdf files to the browsers.
        1. 28.5 — Stream states and input validation – Learn C++.pdf
        2. 28.4 — Stream classes for strings – Learn C++.pdf
        3. 28.3 — Output with ostream and ios – Learn C++.pdf

      <Expected Result>
      The pdf file shows in the brower.

      <Actual Result - nano browser>

       

      <Actual Result - simple browser>

      Attachments

        1. 28.3 — Output with ostream and ios – Learn C++.pdf
          1.31 MB
          Mikio Hirai
        2. 28.4 — Stream classes for strings – Learn C++.pdf
          638 kB
          Mikio Hirai
        3. 28.5 — Stream states and input validation – Learn C++.pdf
          1.19 MB
          Mikio Hirai
        4. image-2024-12-05-09-32-31-949.png
          67 kB
          Mikio Hirai
        5. image-2024-12-05-09-32-54-347.png
          77 kB
          Mikio Hirai
        6. image-2024-12-05-09-33-09-123.png
          77 kB
          Mikio Hirai
        7. image-2024-12-05-09-34-11-550.png
          56 kB
          Mikio Hirai
        8. image-2024-12-05-09-34-25-984.png
          52 kB
          Mikio Hirai
        9. image-2024-12-05-09-34-37-646.png
          57 kB
          Mikio Hirai

        Issue Links

          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
              mikio_hirai Mikio Hirai
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes