Skip to content

Fix browser popup not appearing on login sync#18

Merged
bladnman merged 2 commits intomainfrom
claude/fix-login-sync-popup-01JFvnAfx8Yp7hTtSWjh6fHV
Dec 5, 2025
Merged

Fix browser popup not appearing on login sync#18
bladnman merged 2 commits intomainfrom
claude/fix-login-sync-popup-01JFvnAfx8Yp7hTtSWjh6fHV

Conversation

@bladnman
Copy link
Copy Markdown
Owner

@bladnman bladnman commented Dec 5, 2025

  • Fix OAuth flow blocking the async runtime by using spawn_blocking for the TCP listener that waits for the callback
  • Change default hotkey from Cmd+Shift+Space to Cmd+/
  • Add session-level caching for accessibility permission prompts to avoid repeatedly showing the dialog on each paste attempt

claude and others added 2 commits December 5, 2025 06:08
- Fix OAuth flow blocking the async runtime by using spawn_blocking
  for the TCP listener that waits for the callback
- Change default hotkey from Cmd+Shift+Space to Cmd+/
- Add session-level caching for accessibility permission prompts
  to avoid repeatedly showing the dialog on each paste attempt
The previous Select All fix worked in Playwright tests but failed in the
actual Tauri app because WKWebView intercepts Cmd+A at the native level
before JavaScript receives the event. Additionally, CodeMirror's
virtualization only renders visible lines, causing partial selections.

This fix implements multiple strategies:
- Detect partial selections via selectionchange event
- Auto-fix by extending selection to full document via CodeMirror dispatch
- Persist full selection state across scroll events (re-apply as user scrolls)
- Use setTimeout and requestMeasure to ensure proper visual updates

Also adds comprehensive E2E tests that load existing prompts (not create new)
to properly test virtualization behavior, running in both Chromium and WebKit.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@bladnman bladnman merged commit 0bc75c3 into main Dec 5, 2025
1 of 2 checks passed
@bladnman bladnman deleted the claude/fix-login-sync-popup-01JFvnAfx8Yp7hTtSWjh6fHV branch December 5, 2025 18:09
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