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

Custom downloads

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Done
    • P3: Somewhat important
    • 5.10.0 Alpha
    • None
    • WebEngine
    • None
    • 0f20780db00950f48899b698d05a33c45f3e1d14

    Description

      It would be great to have some kind of API to manually trigger a download of a given URL, for example to download adblocking lists when implementing an adblocker.

      Another use case would be to allow an user to download a link via other means than a context menu.

      void WebContentsAdapter::download(const QUrl &url, const QString &suggestedFileName) already exists, so I think all it'd take is to make that some kind of public API, instead of only allowing it to be used via QWebEnginePage::triggerAction and context menu data.

      Attachments

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

        Activity

          People

            the compiler Florian Bruhin
            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