Skip to content

Agents panel scroll position resets to the top when focusing an agent on another machine #3937

Description

@dalenavi
  • 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

Clicking an agent that lives on a different machine in the agents panel scrolls the agents panel back to the top. The agent gets focused correctly, but the panel's scroll position is lost, so the agents I was looking at are no longer on screen.

Expected behavior

Focusing an agent on another machine should leave the agents panel scrolled where it was. The panel lists agents from every machine, so the list itself does not change when the active machine changes.

Reproduction

  1. Connect a second machine so the agents panel lists agents from both.
  2. Scroll the agents panel down far enough that the top of the list is off screen.
  3. Click an agent belonging to the other machine.
  4. The agent is focused and the panel jumps back to the top.

Clicking an agent on the machine that is already active does not do this.

Impact

Switching between agents on different machines from the panel means re-scrolling every time. With enough agents to need scrolling, the panel loses your place on every cross-machine click.

Environment

  • Herdr version: 0.9.0
  • Update channel (stable or preview): stable
  • Operating system: macOS
  • Terminal: Ghostty 1.3.1
  • Shell, if relevant: zsh
  • Relevant config, if any: none

Activity

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 isn't workingmaintainer-neededrequires maintainer judgment or maintainer-only reproductionp2valid narrow or ordinary defect with limited impact or a practical workaroundremoteaffects SSH, headless, or remote attachment behavioruiHerdr TUI controls, navigation, settings, or presentation

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions