Skip to content

[Bug]: Preview browser cannot open native apps via custom-scheme deep links #16251

Description

@tensorcopy

Before submitting

  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.

Area

apps/desktop

Steps to reproduce

  1. Open a page you control in a preview tab (e.g. a local dev server).
  2. From a click handler on that page, navigate to any custom scheme that has
    a registered OS handler, e.g. location.href = "slack://open".
  3. Observe the preview tab.

Expected behavior

The native app opens, the same as in a normal browser — or the handoff at
least visibly fails.

Actual behavior

Nothing happens. The deep link is dropped silently: no app launches, no
error, no log, and the preview stays on the current page. Any page that
waits for the native app (e.g. a "Launching… you will be redirected in a
few moments" interstitial) hangs forever.

Impact

Preview tabs cannot complete any flow that needs to open a desktop app.

Version or commit

0.0.46-nightly.20261005.2689

Environment

macOS 26.7.1

Logs or stack traces

None — the failure is silent.

Activity

  1. changed the title [-][Bug]: Preview browser silently drops custom-scheme deep links, so SSO-to-desktop-app handoffs hang forever (slack://, zoom://, teams:// …)[/-] [+][Bug]: Preview browser cannot open native apps via custom-scheme deep links[/+] on Oct 5, 2026
  2. juliusmarminge commented on Oct 5, 2026

    @juliusmarminge
    Member

    Note

    Grok responding on behalf of Julius.

    Triage

    Thanks for the clear repro, @tensorcopy!

    What I found

    Likely fix area

    • Granting openExternal for every scheme would let any preview page launch arbitrary OS handlers without a prompt, so that's worth weighing against convenience.
    • Options include surfacing the denial visibly in the preview, with a user-initiated "Open" that routes through shell.openExternal (possibly scoped per scheme or per origin), and making "Open in system browser" and Copy Link available for custom-scheme links from the ⋮ and context menus.

    A maintainer will decide on the fix direction.

  3. added
    bugSomething is broken or behaving incorrectly.
    via-triageFiled through npx t3 triage
    on Oct 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething is broken or behaving incorrectly.via-triageFiled through npx t3 triage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions