Skip to content

In-app browser can dismiss the active agent view #10546

Closed
innocarpe/orca
#69

Description

@leekt

Summary

Using the in-app browser caused the active agent view to disappear during an ongoing multi-agent task. Browser discovery in the same Orca session also reported no available in-app browser backend.

Environment

  • Orca: 1.4.141
  • macOS: 26.5.2 (25F84)
  • Architecture: arm64
  • Orca app, runtime, and graph reported ready

Confirmed observations

  1. Browser discovery returned an empty browser list.
  2. Browser selection reported No browser is available.
  3. Interacting with the in-app browser surface caused the active agent view to disappear.
  4. The orchestration tasks survived, but the user could no longer see the active coordinator in its prior state.

Expected behavior

  • Opening and using the in-app browser should not dismiss, replace, or lose the active agent conversation.
  • The user should be able to return to the exact active agent state.
  • If the browser backend is unavailable, Orca should show an actionable error without disrupting the agent surface.

Actual behavior

  • The active agent view disappears during browser use.
  • Browser discovery reports no available backend even though the Orca desktop and runtime report ready.
  • Ongoing work appears interrupted or lost from the user's perspective.

Impact

This blocks rendered UI review and makes an active multi-agent workflow appear to terminate unexpectedly.

Activity

  1. changed the title [-]Browser tab creation hangs and is aborted by incoming agent-turn messages[/-] [+]Retracted: inaccurate report[/+] on Jul 25, 2026
  2. changed the title [-]Retracted: inaccurate report[/-] [+]In-app browser link navigation can dismiss the active agent view[/+] on Jul 25, 2026
  3. reopened this on Jul 25, 2026
  4. changed the title [-]In-app browser link navigation can dismiss the active agent view[/-] [+]In-app browser can dismiss the active agent view[/+] on Jul 25, 2026
  5. added
    bug
    on Jul 27, 2026
  6. nwparker commented on Jul 27, 2026

    @nwparker
    Contributor

    Repro status: has_repro (code-path, conclusive)

    Summary

    Creating/opening an in-app browser tab surfaces the browser pane (surfacePane defaults true), which switches activeTabType to browser and can dismiss/hide the active agent terminal view.

    Code evidence

    src/renderer/src/store/slices/browser.ts (~1240–1267):

    const surfacePane = options?.surfacePane ?? true
    // ...
    activeTabType: isActiveWorktree && surfacePane ? "browser" : s.activeTabType

    Any browser open path that does not pass surfacePane: false steals the worktree surface from the agent/terminal tab type.

    Repro

    1. Focus an agent terminal view in a worktree.
    2. Open a link/browser tab that lands in-app (agent or user).
    3. Observe worktree surface switches to browser (agent view no longer frontmost).

    Expected

    Opening a background browser tab (agent/automation) should not force activeTabType: browser unless the user explicitly activated the browser surface.

  7. added
    has_repro
    on Jul 27, 2026
  8. added 3 commits that reference this issue on Oct 29, 2026
    db2951d
    dfd8d8a
    24c8d83
  9. AmoabaKelvin commented on Nov 13, 2026

    @AmoabaKelvin
    Collaborator

    This is fixed on main. Opening or creating a browser tab no longer switches the visible tab type or hides the agent view. The pane only comes forward when the caller asks for it with --focus (src/renderer/src/store/slices/browser/pages/browser-page-focus-actions.ts). Agent tab create and --split open in the background, and tab switch only surfaces the page with --focus. Please reopen if you still see the agent view disappear on a current build.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

browserbughas_repro

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions