-
Notifications
You must be signed in to change notification settings - Fork 53
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
When opening a FileExplorer Dialog over a WebView2 instance the app freeze and then crash #4648
Comments
Hi, @RobertGlobant20! It seems that your issue contains the word "crash". If you have not already, could you attach a crash dump as a comment? WV2 crash dumps are located in a subfolder of the app's user data folder (UDF): Thank you for your cooperation! |
There is no crash dump or stacktrace info due that is suddently closing. |
|
Ok thanks for the help, I just tested and is working as expected. |
I will proceed to close this issue due that the solution provided fixed our problem. |
What happened?
I've created a simple WebView2 app displaying a very simple React component, the component has a button that when is clicked send a message to .NET to open a FileOpen Dialog, after some seconds of the Dialog being opened the application freeze (both the .NET app and the File Explorer Dialog), then the app suddently closes.
In the EventViewer->Windows Logs->Application I've found an Error Entry that says:
This behavior is reproducible in any WebView2 app that opens a FileOpen Dialog
This is the sample repo that you can use to reproduce the crash.
https://github.com/RobertGlobant20/WebView2OpenDialogTester
Importance
Blocking. My app's basic functions are not working due to this issue.
Runtime Channel
Stable release (WebView2 Runtime)
Runtime Version
126.0.2592.69
SDK Version
1.0.2592.51
Framework
WPF
Operating System
Windows 10
OS Version
19045.4529
Repro steps
<button>Click Me</button>
)chrome.webview.postMessage("Message")
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
The text was updated successfully, but these errors were encountered: