Closed fcying closed 1 hour ago
I have meet a problem with OpenFileDialog after an update of wails. I have updated my go to the last version 1.23 and it works. Please check your webview2 version too. I have repeated your example without problem on my platform.
Version | v2.9.2
# System
┌───────────────────────────────────────────────────────────────────────────────────────────────┐
| OS | Windows 10 Pro |
| Version | 2009 (Build: 19045) |
| ID | 22H2 |
| Go Version | go1.23.1 |
| Platform | windows |
| Architecture | amd64 |
| CPU | AMD Ryzen 7 5700G with Radeon Graphics |
| GPU | AMD Radeon RX 7800 XT (Advanced Micro Devices, Inc.) - Driver: 32.0.11027.1003 |
| Memory | 32GB |
└───────────────────────────────────────────────────────────────────────────────────────────────┘
# Dependencies
┌───────────────────────────────────────────────────────┐
| Dependency | Package Name | Status | Version |
| WebView2 | N/A | Installed | 128.0.2739.79 |
| Nodejs | N/A | Installed | 18.20.4 |
| npm | N/A | Installed | 10.7.0 |
| *upx | N/A | Available | |
| *nsis | N/A | Installed | v3.10 |
└─────────────── * - Optional Dependency ───────────────┘
Thanks for the reminder~
It has not about with the Go version. I tried both 1.22 and 1.23, and the issue is the same. It's related to the version of Webview2, After updating to the latest version 129.0.2792.52, it worked correctly.
Description
when I use
runtime.OpenFileDialog
, WebView2 crashTo Reproduce
Expected behaviour
work fine.
Screenshots
Attempted Fixes
No response
System Details
Additional context
No response