MicrosoftEdge / MicrosoftEdge/WebView2Feedback
downloadOperation.StateChanged is not occurring
@champnic is already working on this.
Since Feb 17, 2022.
- Dominant language
- PowerShell
- Stars
- 526
- Forks
- 67
- PR merge metrics
- No merged PRs in 30d
Description
Description
event handler for DownloadStarting sets e.Handled = True
and adds event handlers for downloadOperation.StateChanged, downloadOperation.BytesReceivedChanged, and downloadOperation.EstimatedEndTimeChanged
downloadOperation.StateChanged is not occurring
Version
Microsoft.Web.WebView2.WinForms & Core 1.0.1108.44
Winforms using .NET Framework 4.7.2
Windows Server 2019 1809 (17763.2452), Visual Studio Professional 2019 16.11.9
When the program runs, the events logged are:
WebView2_CoreWebView2InitializationCompleted
WebView2_NavigationStarting about:blank
WebView2_NavigationCompleted
(navigation complete to about:blank kicks off navigation to actual site using CreateWebResourceRequest and NavigateWithWebResourceRequest)
WebView2_NavigationStarting http://mysite
CoreWebView2_WebResourceRequested
CoreWebView2_WebResourceResponseReceived
(site response includes a file download)
Transfer-Encoding chunked
WebView2_NavigationCompleted
Webview2_DownloadStarting
(downloadOperation event handlers are added here)
EstimatedEndTimeChanged 2/15/2022 8:32:12 PM
InProgress
bytes received 42120
EstimatedEndTimeChanged 2/15/2022 8:32:12 PM
InProgress
EstimatedEndTimeChanged 2/15/2022 8:32:12 PM
InProgress
EstimatedEndTimeChanged 2/15/2022 8:32:12 PM
InProgress
EstimatedEndTimeChanged 2/15/2022 8:32:12 PM
InProgress
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.