Skip to content

app: model tooltip is locked to 180px and truncates its content #58200

Open

Description

@bertolo1988

Description

The V2 model tooltip is hard-coded to w-[180px]. Model names and values are truncated with an ellipsis even when there is room on screen, and longer localized values (for example the reasoning row) can run out of space inside the tooltip.

The attached screenshot shows the same fixed-width failure mode in the Console models view: the "Input & Output" value escapes the tooltip because its content box is locked to 180px.

Plugins

None.

OpenCode version

2.1.3

Steps to reproduce

  1. Open the model picker in the web or desktop app.
  2. Hover a model with a long name, or switch to a locale with a long "Reasoning" value.
  3. The tooltip stays 180px wide and truncates the content.

Expected behavior

The tooltip should grow to fit its content, with a minimum of 180px and a reasonable maximum (320px) so it still behaves on narrow viewports.

Screenshot

Model tooltip overflow

Operating System

Linux

Terminal

Not terminal-specific

Activity

  1. opencode-agent commented on Oct 22, 2026

    @opencode-agent
    Contributor

    Thanks for the report and for opening #58201 with a proposed change!

    To restate the request: the model tooltip in the v2 web and desktop app should grow to fit its content, from a minimum of 180px up to about 320px, instead of being fixed at 180px. That way long model names and localized values don't get cut off when there's room on screen.

    At the moment the fixed width and the ellipsis are deliberate: each row in the tooltip shortens its value to fit the 180px box. So we're treating this as a feature request (a UI improvement) rather than a bug. The overflow in your screenshot is in the Console models view, which, as you mention in #58201, comes from a separate codebase.

    Maintainers will consider this together with your PR #58201.

    Related:

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