Skip to content

Fast two-finger scrolling inside a pane rapidly switches Herdr tabs #2132

Description

@cbailey17

Is this a reproducible bug?

  • I confirm this is a reproducible bug, not a feature request, idea, question, contribution proposal, or direction check.
  • I reproduced this bug on the version and environment reported below using the exact steps provided.

Current behavior

Rapid two-finger vertical scrolling while the pointer is inside a terminal pane unexpectedly switches between Herdr tabs. Scrolling up moves through previous tabs, while scrolling down moves through next tabs.

During one gesture, the server recorded 13 tab.focus events in approximately 1.1 seconds. The same gesture does not reproduce on another Mac using the identical WezTerm version with Herdr 0.7.3.

Expected behavior

Two-finger scrolling inside a terminal pane should scroll that pane’s content without changing the active Herdr tab.

Reproduction

  1. Start Herdr with a workspace containing multiple tabs.
  2. Place the pointer inside the main terminal pane, away from the tab bar.
  3. Scroll vertically and quickly using two fingers on a Mac trackpad.
  4. Observe that Herdr rapidly switches through adjacent tabs.

Impact

This repeatedly interrupts terminal scrolling and moves me into unrelated agent tabs. I must manually locate and switch back to the original tab, disrupting active workflows.

Environment

  • Herdr version: 0.7.5
  • Update channel (stable or preview): stable
  • Operating system: macOS 27.0
  • Terminal: WezTerm 20240203-110809-5046fc22
  • Shell, if relevant: zsh
  • Relevant config, if any: ui.mouse_capture is unset and uses the default; WezTerm has no custom mouse bindings.

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