[Problem/Bug]: MSEdgeWebView2 crashes when trying to preview a file through Monaco in file explorer using PowerToys #4228
Labels
bug
Something isn't working
regression
Something used to work but doesn't anymore
tracked
We are tracking this work internally.
What happened?
The issue only occurs, when clicking on a file to preview it in file explorer. In that case msedgewebview2.exe crashes. If i run PowerToys.MonacoPreviewHandler.exe manually and supply the appropriate explorer window handle through the command line, the preview pane works correctly (you might need to click at the file in explorer again for the preview to appear). For example this command works for me: ""C:\ProgramFiles\PowerToys\PowerToys.MonacoPreviewHandler.exe" "C:\Users\wwojt\Desktop\Dev\Helium\LICENSE.txt" 0000000000320D0C 0 537 0 701").
PowerToysReport_2023-12-11-23-25-27.zip
f67b114d-8fa9-476a-9c9c-56c4ecb2f415.dmp
I attached a crash dump generated by msedgewebview.
Importance
Important. My app's user experience is significantly compromised.
Runtime Channel
Stable release (WebView2 Runtime)
Runtime Version
120.0.2210.61
SDK Version
No response
Framework
Other
Operating System
Windows 11
OS Version
10.0.22631
Repro steps
✔️ Expected Behavior
Expected to see a preview of a .txt file in the preview pane opened in monaco editor.
❌ Actual Behavior
Saw a loading bar, then preview pane just became empty.
Repros in Edge Browser
Not Applicable
Regression
Regression in newer Runtime
Last working version (if regression)
No response
AB#48141020
The text was updated successfully, but these errors were encountered: