Description
What happened?
Run the code and right click a white area. Afterwards select Save as from context menu
Expected behavior:
MessageBox shows
Actual behavior:
MessageBox does not show
However if the google logo is rightclicked the behavior is as expected
Importance
Moderate. My app's user experience is affected, but still usable.
Runtime Channel
Stable release (WebView2 Runtime)
Runtime Version
No response
SDK Version
1.0.2526-prerelease
Framework
WPF
Operating System
Windows 11
OS Version
OS build 22621.3593
Repro steps
using System.Windows;
using Microsoft.Web.WebView2.Wpf;
using Microsoft.Web.WebView2.Core;
public partial class App: Window {
public App() {
var wv = new WebView2();
Dispatcher.Invoke(() => {
wv.EnsureCoreWebView2Async(null);
});
Content = wv;
wv.CoreWebView2InitializationCompleted += (o2, e2) => {
wv.Source = new Uri("https://google.com");
wv.CoreWebView2.DownloadStarting += (o, e) => {
MessageBox.Show("----");
};
};
}
[STAThread]
static void Main(string[] sa) {
new Application().Run(new App());
}
}
Repros in Edge Browser
No, issue does not reproduce in the corresponding Edge version
Regression
No, this never worked
Last working version (if regression)
No response