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

QPdfDocument::load() with HTTP QNetworkReply asserts or hangs

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P1: Critical P1: Critical
    • None
    • 6.10.0 Beta3
    • PDF
    • None
    • 6.10 branch debug build on Kubuntu 25.04
    • Linux/Wayland

      I haven't found an example HTTP URL where it works, it's either an assertion failure or the document silently doesn't load. The assertion failure cases might work in a release build, but it seems to trigger a "should not happen" case in the code, anyway.

      The auto-test tst_QPdfDocument::loadAsync() opens a local file through QNetworkAccessManager, which does not seem to be sufficiently asynchronous to cause any trouble. That test also fails if using an actual remote URL.

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

            srutledg Shawn Rutledge
            ahartmetz Andreas Hartmetz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                There are 2 open Gerrit changes