Skip to content

fix Windows owned browser WebView2 startup and loading#3357

Merged
louis030195 merged 1 commit into
screenpipe:mainfrom
Anshgrover23:fix/windows-webview-2-erroe
May 13, 2026
Merged

fix Windows owned browser WebView2 startup and loading#3357
louis030195 merged 1 commit into
screenpipe:mainfrom
Anshgrover23:fix/windows-webview-2-erroe

Conversation

@Anshgrover23
Copy link
Copy Markdown
Contributor

@Anshgrover23 Anshgrover23 commented May 13, 2026

Description:

Fixed Windows owned-browser WebView2 failures by aligning WebView2 environment/options, avoiding invalid COM failures, and using the correct UA behavior for Windows.

  • Before:
Screenshot 2026-05-13 212539
  • After:
2026-05-13.22-22-19.mp4

Files changed:

  • apps/screenpipe-app-tauri/src-tauri/src/owned_browser.rs
    • Removed custom Windows --user-data-dir WebView2 args.
    • Kept the owned browser off-screen but valid during startup.
    • Limited Safari UA spoofing to macOS so YouTube works correctly on WebView2.
  • crates/screenpipe-a11y/src/tree/windows.rs
    • Handled RPC_E_CHANGED_MODE / 0x80010106 COM initialization gracefully for Windows UIA tree walking.

@Anshgrover23
Copy link
Copy Markdown
Contributor Author

@louis030195 Can I get a review on this one ?

@louis030195 louis030195 merged commit 49384a8 into screenpipe:main May 13, 2026
6 of 10 checks passed
@Anshgrover23 Anshgrover23 deleted the fix/windows-webview-2-erroe branch May 13, 2026 19:25
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.

2 participants