-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Handling WebView2 Downloads - Complete Never Completes #4185
Comments
What i notice the current_path in de default db is never added but when removing args.handled it fixed but the old download dialog triggers |
Hi @jarno9981 if you look at the #3268, it looks like it's because Edge flags that link as suspicious.
|
Happens on more download sites for me sometimes it wont even start it keeps showing 0% |
Could you provide links to the other sites? And also, could you check if for those sites, it repros in the Edge browser? |
in edge they work fine |
I tried the above links in the WebView2Sample app, and they do seem to work fine for me. My SDK and runtime are as follows: Could you do a screen capture? |
i fixed it by resetting the whole webview2 stuff for some reason it works fine now |
What happened?
Code example's
DownloadFlyout
https://www.dropbox.com/scl/fi/c4h8neahhf6z9a4rjtwjx/downloadflyoutcode.txt?rlkey=akcpr4whcid1vuqyxoyxe9rv6&dl=1
https://www.dropbox.com/scl/fi/unpn7mzt2ghgv298zgaxy/downloadflyoutxaml.txt?rlkey=ntp9zawz9f7p4ioo5xe8o18ax&dl=1
DownloadItem
https://www.dropbox.com/scl/fi/cw9q71adjlhlh3uhxjk2e/downloaditem-xaml.txt?rlkey=xy89h3u1j1phxyyg6trxw6brd&dl=1
https://www.dropbox.com/scl/fi/9o5udji33yljfad74gocb/downloaditemcode.txt?rlkey=5on0ocfsfa157ifsn4fupfza0&dl=1
Trigger the operation
https://www.dropbox.com/scl/fi/g3qomp5s778h5uwlup375/webcontenttrigger.txt?rlkey=p0yo544oq5csbrn9azgel7ny3&dl=1
just use the code from above or ask for the repo and you can reproduce
Importance
Important. My app's user experience is significantly compromised.
Runtime Channel
Stable release (WebView2 Runtime)
Runtime Version
119.0.2151.72
SDK Version
1.4.231115000
Framework
WinUI3/WinAppSDK
Operating System
Windows 11
OS Version
22631.2715
Repro steps
me when triggering the download you see it fire but after its 100% the ui closes but webview2 doesn't close the download operation but .completed is in the code
2023-11-21.19-22-29.mp4
here is a vidoe where it goes wrong
when closing app the download disseapers
Repros in Edge Browser
Yes
Regression
No, this never worked
Last working version (if regression)
The text was updated successfully, but these errors were encountered: