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

No way to get interruption reason from QWebEngineDownloadItem

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Done
    • P2: Important
    • 5.9
    • None
    • WebEngine
    • None

    Description

      When a QWebEngineDownloadItem changes its state to DownloadInterrupted, there's no way to figure out what error happened.

      Chromium seems to provide that information, at least there's a list of possible values in chromium/content/public/browser/download_interrupt_reason_values.h.

      I'd imagine an API with an error() method (returning an enum value) and an errorString() method (chromium seems to have std::string CONTENT_EXPORT DownloadInterruptReasonToString( DownloadInterruptReason error);.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            viengelm Viktor Engelmann
            the compiler Florian Bruhin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes