-
Notifications
You must be signed in to change notification settings - Fork 6
Description
When running the project with ./gradlew :composeApp:run on Windows, the application crashes immediately during WebView2 component initialization with a permission denied error (HRESULT 0x80070005). This blocks the core functionality of the WebView component in the app.
Steps to Reproduce
Environment: Windows 11
Execute command: gradlew :composeApp:run
Exception in thread "AWT-EventQueue-0" io.github.kdroidfilter.webview.wry.WebViewException$WryException: v1=WebView2 error: WindowsError(Error { code: HRESULT(0x80070005), message: " Access Denied." })
at io.github.kdroidfilter.webview.wry.FfiConverterTypeWebViewError.read-MhnMXUE(composewebview_wry.jvm.kt:2058)
at io.github.kdroidfilter.webview.wry.FfiConverterTypeWebViewError.read-MhnMXUE(composewebview_wry.jvm.kt:2047)
at io.github.kdroidfilter.webview.wry.FfiConverter.liftFromRustBuffer(composewebview_wry.jvm.kt:222)
at io.github.kdroidfilter.webview.wry.Composewebview_wry_jvmKt.createWebview-R4QgNNg(composewebview_wry.jvm.kt:2798)
at io.github.kdroidfilter.webview.wry.NativeBindings.createWebview-gnehgXw(WryWebViewPanel.kt:706)
at io.github.kdroidfilter.webview.wry.WryWebViewPanel.createIfNeeded(WryWebViewPanel.kt:351)