Skip to content

Disable "Ask where to save each file before downloading" message #1120

@Symbai

Description

@Symbai

Description

If you download a file 2 times you get the message at the bottom saying "You can choose to automatically save files or getting asked" with two buttons where one of it is called "Settings".

But this settings button opens a new window (which btw does not trigger NewWindowRequested event) leads to edge://settings/downloads which is blocked.

This message appears even though I've set the following properties

wv.CoreWebView2.Settings.AreDevToolsEnabled = false;
wv.CoreWebView2.Settings.AreDefaultScriptDialogsEnabled = false;
wv.CoreWebView2.Settings.IsStatusBarEnabled = false;

Version

SDK: 1.0.790-prerelease
Runtime: Canary 91.0.837.0
Framework: WPF
OS: Win10

Repro Steps

Create a new project
Add webview2 control
Navigate to a site and download the same file twice
You get the notification at the button
Click on Settings button

Screenshots

image

AB#32267915

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingtrackedWe are tracking this work internally.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions