Skip to content

fix(desktop): links that open a new tab (Google Sign in) navigate the Browser again - #544

Merged
mayoalexander merged 1 commit into
iris/1.18.23from
new-tab-links
Nov 11, 2026
Merged

mayoalexander merged 1 commit into
iris/1.18.23from
new-tab-links

Conversation

@mayoalexander

Copy link
Copy Markdown

on_new_window called navigate from inside WebKit's createWebView delegate. Tauri runs a
main-thread navigate synchronously, so the load started while WebKit was still handling the
click and was dropped: target=_blank links did nothing. Google Voice's "Sign in"
(target=_blank → accounts.google.com) never moved, for the person or the agent.
The navigate is now posted from another thread, so it runs after the delegate returns.

Gate: cargo test --lib browser 11/11. Needs a person to click: test build spike-15 on hive-002.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Jtb7WudoN4jCe3AMkAeWQj

…he Browser again

on_new_window called navigate from inside WebKit's createWebView delegate. Tauri runs a
main-thread navigate synchronously, so the load started while WebKit was still handling the
click and was dropped: target=_blank links did nothing. Google Voice's "Sign in"
(target=_blank → accounts.google.com) never moved, for the person or the agent.
The navigate is now posted from another thread, so it runs after the delegate returns.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Jtb7WudoN4jCe3AMkAeWQj
@mayoalexander
mayoalexander merged commit 9a4c5c2 into iris/1.18.23 Nov 11, 2026
1 of 6 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.

1 participant