Details
-
Suggestion
-
Resolution: Fixed
-
Not Evaluated
-
None
-
21ce22977 (dev)
Description
WebEngineProfile::downloadRequested expects a decision of the download to be made during the execution of downloadRequested handler. This is a little difficult to use in QML API because there is no way to put custom event loop somewhere without creating some c++ classes to help with that.
Perhaps a version of downloadRequested could be added which would run QEventLoop internally until a decision has been made unless it is possible change the logic of downloadRequested (perhaps by adding a function to not proceed immediately after returning from the function and instead run QEventLoop there waiting for the decision).
Attachments
For Gerrit Dashboard: QTBUG-118584 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
627527,2 | [Backport] Make download API asynchronous | 6.8 | qt/qtwebengine | Status: NEW | 0 | 0 |