WebView2Feedback icon indicating copy to clipboard operation
WebView2Feedback copied to clipboard

Download never completes

Open q71114 opened this issue 2 years ago • 6 comments

Description Downloads never complete when downloading from https://www.thinkbroadband.com/download

Version SDK: 1.0.1671-prerelease Runtime: Evergreen, 110.0.1587.57 Framework: WPF OS: Win11

Repro Steps

  1. Tested with WebView2Samples
  2. Open https://www.thinkbroadband.com/download
  3. Click on any of the files to initiate download (eg. Small File (10 MB))

Expected: File is downloaded Actual:

  • Download dialog appears with the file in it but the file cannot be opened when clicking on it.
  • Opening the download folder you can see that download has not been completed and the file has Unconfirmed <random-number>.crdownload name.

Screenshots image

Additional context This behaviour is reproducible in Microsoft Edge.

AB#43886237

q71114 avatar Mar 06 '23 13:03 q71114

Thanks for reaching out. I've assigned this to a dev that can help follow up on this.

novac42 avatar Mar 07 '23 03:03 novac42

@q71114 Thank you for the feedback. This issue has already been fixed in version 111.0.1661.51. You can try updating the runtime and trying again. In the new version, this download is considered unsafe, so it will not be downloaded immediately. After clicking the '...' button, select 'Keep' to download the file. By reading this document mixed content downloads,you can learn about the reasons why the download is being blocked. image image

xu-ms avatar Mar 22 '23 10:03 xu-ms

Thanks @xu-ms for the update. I checked the changes and it looks good, however there are a few bugs:

  • The confirmation dialog has a Learn more link
  • When clicked on the link an Edge popup appears with its own icon in the taskbar instead of triggering NewWindowRequested event

image

  • When Report this file as unsafe option is selected an Edge popup appears with its own icon in the taskbar instead of triggering NewWindowRequested event

image

q71114 avatar Mar 22 '23 10:03 q71114

@q71114 The link here looks very unusual, I am not sure if this is by design or not. I created a bug internally to investigate further, and I will update you on the progress as soon as possible.

xu-ms avatar Mar 24 '23 07:03 xu-ms

@novac42 @champnic for me same winui3

#4185

jarno9981 avatar Nov 21 '23 18:11 jarno9981

We also see a similar issue: When canceling and then retrying a download, we can click on that download to open the file, but instead of the NewWindowRequested event being raised, the file just opens in the default Edge/WebView2 popup window described above.

IMFJS avatar Aug 21 '24 15:08 IMFJS