Skip to content

fix: keep Outlook message popups in the existing window - #2565

Open
ponces wants to merge 1 commit into
ferdium:developfrom
ponces:fix/outlook-single-window
Open

ponces wants to merge 1 commit into
ferdium:developfrom
ponces:fix/outlook-single-window

Conversation

@ponces

@ponces ponces commented Sep 18, 2026 •

Copy link
Copy Markdown

Summary

  • Fix Outlook popup navigation handling.
  • Track about:blank popups created by window.open().
  • Intercept subsequent navigation in the popup window, open the destination externally, and close the temporary Electron child window.
  • Preserve existing popup and OAuth handling for other services.

Details

Outlook opens an intermediate about:blank popup and navigates it through its WindowProxy, which bypasses the existing navigation handling. This change associates those blank popups with their child windows and listens for navigation events directly on the child. Non-blank destinations are prevented from loading inside Ferdium, opened using openExternalUrl, and the temporary popup is closed afterward.

Testing

  • pnpm typecheck
  • pnpm exec eslint src/index.ts --max-warnings 0
  • Commit hook test suite: 17 suites passed, 140 tests passed, 2 skipped.

@ponces
ponces force-pushed the fix/outlook-single-window branch from c49be0c to 358c2e8 Compare September 18, 2026 14:15
@ponces
ponces force-pushed the fix/outlook-single-window branch from 358c2e8 to c629fed Compare September 18, 2026 14:17
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