Skip to content

[Feature]: Support Shift/Cmd/Ctrl multi-select in the tab strip #7397

Description

@ivankqw

Problem or use case

Orca's top tab strip currently supports single-tab activation and drag/reorder behavior, but it does not appear to support multi-selecting tabs with desktop-standard modifiers:

  • Shift-click to select a contiguous range of tabs
  • Cmd-click on macOS / Ctrl-click on Linux and Windows to toggle individual tabs

This makes bulk tab workflows harder, such as closing, moving, pinning, or managing several terminal/editor/browser tabs together.

Local code review found that terminal, editor, and browser tabs all route pointer activation through useTabStripPointerActivation, which only distinguishes click vs drag by pointer button and movement distance. It does not inspect shiftKey, metaKey, or ctrlKey. I also did not find existing selected-tab collection state in the renderer store.

Proposed solution

Add tab-strip multi-selection behavior that matches platform conventions:

  • Shift-click selects a range using the last anchor tab.
  • Cmd-click on macOS toggles an individual tab.
  • Ctrl-click on Linux/Windows toggles an individual tab.
  • Plain click preserves the current single-active-tab behavior.
  • Drag/reorder/split behavior remains intact and does not accidentally activate or modify selection mid-drag.
  • Any UI treatment follows docs/STYLEGUIDE.md and existing tab strip tokens.

Implementation should stay cross-platform and avoid hardcoding macOS-only metaKey semantics. It should also keep remote/SSH worktrees in mind: selection should operate on renderer tab identity and not assume local-only process state.

Alternatives or additional context

A narrower first step could add only selection state and tests, then wire bulk actions in follow-up issues. Useful coverage would include modifier-click behavior across macOS vs non-mac platforms, mixed terminal/editor/browser tabs, and regression tests around tab drag/reorder activation.

Activity

  1. added theissue type on Jul 12, 2026
  2. added
    enhancement
    on Jul 16, 2026
  3. Fanzzzd commented on Oct 20, 2026

    @Fanzzzd
    Contributor

    +1. I keep 10 to 20 terminal and browser tabs open per workspace, and closing a batch of them means right-clicking each tab one by one. Shift-click for a range and Cmd/Ctrl-click to toggle, plus Close on the selection, would cover most of what I need.

    #10644 implemented this along with detachable windows and was closed without review. Would a smaller PR that only adds selection and batch close be welcome?

  4. taichimori-netizen commented on Nov 25, 2026

    @taichimori-netizen

    +1, mainly for moving tabs.

    I often have many agent terminal tabs open across split tab groups. When I want to rearrange them, I have to drag each tab one at a time.

    What I'd like is:

    1. Cmd/Ctrl-click or Shift-click to select several tabs in a strip.
    2. Drag any selected tab to move the whole selection, keeping its order, either to another position in the same strip or into another tab group (left/right split).
    3. The same move from the right-click menu on the selection.

    #10644 included moving the selected tabs to a split from the context menu. If a smaller PR for selection and batch close is considered, as asked above, could batch move be included too, or tracked as the next step? Dragging the selection is the part that would help me most.

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

Metadata

Metadata

Assignees

Labels

enhancement

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions