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

QWebEngineDownloadItem::downloadProgress has 0 as bytesTotal if unknown

    XMLWordPrintable

Details

    • 3b901b25a86f49ebef9be03ec762ed76422fd91c

    Description

      When downloading a file with an unknown size like http://httpbin.org/stream-bytes/1024 with QtWebEngine, downloadProgress gets emitted with 0 for bytesTotal.

      This is kind of unexpected and different from QNetworkReply::downloadProgress where -1 is used for that purpose.

      It's probably too late to change that behaviour now, but I think it should at least be documented.

      Attachments

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

        Activity

          People

            leenam Leena Miettinen
            the compiler Florian Bruhin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes