Skip to content

Updated webview to fix the WebView2 loader version string - #188

Merged
5cript merged 1 commit into
mainfrom
fix/webview-version-string
Oct 19, 2026
Merged

5cript merged 1 commit into
mainfrom
fix/webview-version-string

Conversation

@5cript

@5cript 5cript commented Oct 19, 2026

Copy link
Copy Markdown
Member
  • Bumps the webview pin to 5cript/webview@3700c80 (branch webview-rebased-cbbdee4): the fork commits (engine extensions, message hook) rebased onto upstream webview/webview@cbbdee4, which only adds docs and README changes
  • Fixes the built-in WebView2 loader returning the browser version string without a null terminator (get_available_browser_version_string_impl allocated size() * sizeof(wchar_t)); upstream has the same bug
  • Fixes webview browser version string bug 5cript/nui-sftp#246
  • Existing build trees keep the old NUI_WEBVIEW_TAG cache value, run cmake -U NUI_WEBVIEW_TAG <build> to pick up the new pin

Tested on Windows 11 (WebView2 155.0.4283.62, MSYS2 clang64): nui-sftp builds and runs with the new pin, and a direct call of the built-in loader now matches Microsoft's WebView2Loader.dll (28 bytes for 13 chars, the old code allocated 26).

@5cript
5cript merged commit 888aab5 into main Oct 19, 2026
18 checks passed
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.

webview browser version string bug

1 participant