Skip to content

The initial agent selection page renders badly sometimes when starting AIShell by calling Start-AIShell from PowerShell #380

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
3 tasks done
daxian-dbw opened this issue May 16, 2025 · 0 comments

Comments

@daxian-dbw
Copy link
Member

Prerequisites

  • Write a descriptive title.
  • Make sure you are able to repro it on the latest version
  • Search the existing issues.

Steps to reproduce

  1. Install the latest 1.0.0-preview.4 AIShell app and the corresponding AIShell module
  2. Use iTerm2
  3. Run Start-AIShell to start the sidecar experience
  4. Observe the agent selection page of AIShell

Image


This is likely a race condition between the rendering and start-aishell adjusting the sidecar pane width.
It doesn't always happen, for example, @StevenBucher98 cannot reproduce this on his macbook.

Usually, it may work fine for the 1st time, becuase AIShell may start up slow for the 1st time, so the rendering happens after the width adjustment is done. But subsequent startup is fast and the width is adjusted while rendering is on going, and the conflict will happen.

Expected behavior

The agent selection page should be rendered correctly.

Actual behavior

The rendering is messed up.

Error details

Environment data

1.0.0-preview.4

Version

1.0.0-preview.4

Visuals

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant