Skip to content

[Feature]: Allow in-app browser links to open without automatically creating a split pane #33252

Open

Description

@kambarakun

Problem or use case

I want to keep using Orca's built-in browser without having links automatically split my workspace. Choosing between the built-in browser and the system browser is different from choosing where a browser tab appears.

In Orca 1.4.239, the placement rule introduced by #31844 reuses a visible browser pane. If none is visible and the source pane is occupied, it creates a new pane to the right. An empty source pane is filled instead. I would like to keep links inside Orca while choosing a layout that does not create another split.

The existing settings do not provide that choice:

  • Link Routing selects Orca versus the system browser.
  • Open links in the background controls activation and focus, but still applies the same placement rule.
  • Closing a browser tab afterward does not change the placement policy for the next link.

Environment: Orca 1.4.239, macOS 26.5.2, arm64. The installed version and saved settings were checked: Link Routing was on and background opening was off.

This is a request for control over the current placement behavior, rather than a claim that closing tabs is broken. The exact action behind my original observation has not yet been isolated, and no GUI reproduction was performed during this investigation. The placement rule and the absence of an opt-out were checked in source, including main at 0302e0a5fd09c783f81ab41bb83f95ad59812971.

Proposed solution

Add a browser-link placement preference, independent of link routing and background focus:

  • Current behavior: reuse a visible browser pane, or open beside the source when needed.
  • No automatic split: reuse a visible browser pane if available; otherwise add a tab in the source group without creating a new split.

The second option would let me retain the embedded browsing workflow. The default and exact reuse policy can be decided by maintainers. Background opening should remain a separate focus choice.

Apply the preference consistently to routed links from terminal, chat, Markdown and editor surfaces, including the desktop's local, SSH and paired-server workspace routes. This request does not ask to change explicit split commands, manual tab creation, agent browser automation or session restoration, or to disable those features.

Alternatives or additional context

Turning off Link Routing or using the system-browser modifier avoids this placement path, but gives up embedded browsing. Background opening reduces focus interruptions without preventing the split. Closing the browser afterward is only temporary layout management.

Related work:

References: placement decision, v1.4.239 release notes.

A suggested validation scenario, not yet executed, is a local workspace with one occupied terminal pane and no visible browser, Link Routing enabled, followed by Cmd-click on https://example.com. A no-auto-split preference should keep the group count unchanged with background opening either on or off.

Activity

  1. PatrykMilewski commented on Oct 25, 2026

    @PatrykMilewski

    This may also be a regression introduced by #31844, rather than only a request for a new preference.

    My issue, #31530, requested opening links in a new background tab without switching focus away from the terminal. It was closed as completed by #31844. That PR also introduced the placement rule that creates a right-hand split when no browser pane is visible.

    We tested this in the running Orca 1.4.240 on macOS, starting with an occupied terminal pane and no visible browser:

    • Link Routing enabled; Cmd-click opens in Orca and Shift+Cmd-click uses the system browser.
    • After enabling Open links in the background, Cmd-clicking an HTTP(S) link still created a new split to the right. Keyboard focus stayed in the terminal.
    • With the background option disabled, Cmd-click also creates a split.

    The expected workflow is: Cmd-click adds a new tab to the same pane, leaves the current tab selected when background opening is enabled, and does not change the split layout. Keeping keyboard focus while resizing the workspace into a split does not achieve that.

    The timing and the placement code in #31844 suggest that change caused this behavior. Could this be investigated as a possible bug/regression in the implementation that closed #31530, alongside the placement preference requested here?

    Generated by Codex agent

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions