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

[DocumentViewer] Content of PDF file could not be viewed on Linux

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P1: Critical
    • 6.6.0 Beta2, 6.7.0 FF
    • 6.6.0 Beta1
    • Examples and Demos
    • None
    • Ubuntu 22.04
    • Linux/X11
    • 394839e0d (dev), d99a64132 (6.6)

    Description

      Steps to reproduce:

      1. Open example: https://doc.qt.io/qt-6/qtdoc-demos-documentviewer-example.html from Qt 6.6.0 b1.
      2. Build and run the app on Linux desktop.

       

      Expected: Pdf files could be viewed.

      Actual: Content looks like encoded. I attached video and logs from the console.

      Reproducibility:  100%

       

      NOTES: Not reproducible with the example from Qt 6.5.1.

      Attachments

        1. document_viewer.webm
          9.74 MB
        2. logs.txt
          12 kB
        3. pdf-sample.pdf
          8 kB
        4. screenshot-1.png
          screenshot-1.png
          316 kB
        5. screenshot-2.png
          screenshot-2.png
          137 kB
        6. screenshot-3.png
          screenshot-3.png
          35 kB
        7. Screenshot from 2023-06-15 16-23-07.png
          Screenshot from 2023-06-15 16-23-07.png
          165 kB
        8. Screenshot from 2023-06-17 22-02-19.png
          Screenshot from 2023-06-17 22-02-19.png
          362 kB
        9. Screenshot from 2023-06-19 15-18-13.png
          Screenshot from 2023-06-19 15-18-13.png
          56 kB

        Issue Links

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

          Activity

            People

              axelspoerl Axel Spoerl
              lkos Łukasz Kosiorowski
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes