Skip to content

[Bug] Subagent panel size is not updated if cancel in the middle #169

Closed

Description

@jdneo
  1. Try to invoke a subagent, i.e. ask :"scan for CVEs"
  2. When the subagent wants to run a command, wait for the confirmation dialog appear
  3. Click cancel

An empty area can be observed at the end of subagent area:

Image

Activity

  1. added
    bug
    on May 11, 2026
  2. rsd-darshan commented on May 22, 2026

    @rsd-darshan
    Contributor

    Hi Sheng Chen (@jdneo), is this issue still present in the latest version?

    I can reproduce the steps (invoking a subagent → waiting for the confirmation dialog → clicking Cancel) and I'm happy to look into the panel resize logic if it hasn't been addressed yet. Just let me know and I'll open a PR.

  3. jdneo commented on May 23, 2026

    @jdneo
    MemberAuthor

    Hi Darshan Poudel (@rsd-darshan)

    Yes this issue has not been fixed yet. PRs are welcome, thank you!

  4. added a commit that references this issue on May 23, 2026
    a64f5a6
  5. rsd-darshan commented on May 23, 2026

    @rsd-darshan
    Contributor

    Just a heads-up: the earlier PR #252 was closed — it was accidentally branched off a different in-progress branch and included unrelated commits. The correct fix is in #254, which is a clean branch off main with only the relevant change.

  6. added 2 commits that reference this issue on May 25, 2026
    82643d2
    f2c2a90
  7. added a commit that references this issue on May 26, 2026
    cddd5da
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

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions