Skip to content

WebView (Windows): use ICoreWebView2ControllerOptions4 for AllowHostInputProcessing#27

Merged
jakepenn merged 1 commit into
minimal_masterfrom
fix-webview-controller-options4-interface
May 23, 2026
Merged

WebView (Windows): use ICoreWebView2ControllerOptions4 for AllowHostInputProcessing#27
jakepenn merged 1 commit into
minimal_masterfrom
fix-webview-controller-options4-interface

Conversation

@jakepenn

Copy link
Copy Markdown
Member

Summary

  • Fixes the Windows Player build that has been broken since PR WebView: forward keys to host responder chain by default #25 (the keyboard-passthrough patch).
  • The code was querying ICoreWebView2ControllerOptions2, which only exposes ScriptLocale. put_AllowHostInputProcessing lives on ICoreWebView2ControllerOptions4 (introduced in WebView2 Win32 SDK 1.0.3351.48 — well below our CI-pinned 1.0.3485.44).

Why CI didn't catch this

PRs #25 and #26 didn't run the Release Player workflow that builds Windows; the failure first surfaced when Release Player was dispatched against main (https://github.com/Minimal-Audio/minimal_core/actions/runs/26317655858/job/77480189355).

Build error before fix

```
juce_WebBrowserComponent_windows.cpp:1222:41:
error: no member named 'put_AllowHostInputProcessing' in 'ICoreWebView2ControllerOptions2'
```

Test plan

  • minimal_core Release Player workflow Windows build succeeds with submodule pinned to this branch tip.

🤖 Generated with Claude Code

…tInputProcessing

The keyboard-passthrough patch was querying ICoreWebView2ControllerOptions2,
but that interface only exposes ScriptLocale. put_AllowHostInputProcessing
lives on ICoreWebView2ControllerOptions4 (introduced in WebView2 Win32 SDK
1.0.3351.48, well below our pinned 1.0.3485.44).

Without this fix the Windows Player build fails with:
  no member named 'put_AllowHostInputProcessing' in 'ICoreWebView2ControllerOptions2'

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@jakepenn jakepenn merged commit c1e58a5 into minimal_master May 23, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant