-
Notifications
You must be signed in to change notification settings - Fork 64
Open
Labels
bugSomething isn't workingSomething isn't workingtrackedWe are tracking this work internally.We are tracking this work internally.
Description
Description
Running our WebView2 application using Visual Studio triggers a breakpoint when Windows save dialog is shown upon JavaScript print call. Crash won’t occur if no debugger is attached. Bug is reproducible with WebView2SampleWinComp when printing from context menu or “ctrl + p”.
Version
SDK: 1.0.1722.45
Runtime: 114.0.1823.58
Framework: Win32
OS: Win10
Repro Steps
- Start WebView2SampleWinComp from VS
- Open context menu and click “Print” or use “ctrl + p” directly
- Print preview dialog opens
- Select “Save as PDF”
- Save dialog opens
- Wait around 20 seconds until breakpoint is triggered with the following error message:
"Running a message loop synchronously in an event handler in Webview can cause reentrancy issue. Please refer to https://docs.microsoft.com/en-us/microsoft-edge/webview2/concepts/threading-model#re-entrancy for more information about threading model in WebView2 and how to enable native code debugging for this scenario."
Bug was not reproducible with WebView2APISample.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingtrackedWe are tracking this work internally.We are tracking this work internally.