Skip to content

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

Open
@daxian-dbw

Description

@daxian-dbw

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

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