Skip to content

Tray window clips the 6th app icon and silently hides the rest #190

Open

Description

@EhabY

Problem

When an agent has 6 or more apps, the tray window clips the 6th app icon at the right edge, and every app after the 6th is hidden with no hint that more exist.

Steps to reproduce

  1. Use a template whose agent has 7 or more apps, for example 6 external coder_apps plus the built-in VS Code display app.
  2. Start the workspace and Coder Connect, then open the tray window.
  3. The 6th icon is cut off at the right edge, and the 7th (here, the built-in VS Code app, which sorts last by name) doesn't appear at all.

Found while testing #188 against a local deployment.

Image

Cause

  • AgentViewModel.VisibleApps shows at most MaxAppsPerRow = 6 apps (App/ViewModels/AgentViewModel.cs) and drops the rest.
  • Each icon in the horizontal StackLayout takes 38px (a 34px button plus 2px margin on each side), inside a row with a 17px margin on each side (App/Views/Pages/TrayWindowMainPage.xaml). Six icons don't fit in the tray window's width.

Possible fixes

  • Size the row (or MaxAppsPerRow) so that every visible icon fits.
  • Show an overflow control (for example "…" with a flyout) when an agent has more apps than fit, rather than silently dropping them.

Activity

  1. linear-code commented on Oct 30, 2026

    @linear-code
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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions