Skip to content

Question tool UI in the OpenCode Desktop hides longer descriptions #14924

Closed

Description

@aklajnert

Description

For a question that has longer description, the description gets truncated and there is no way to see the full content. Clicking or hovering over an option does not reveal its full description.

See the following screenshot:

Image

The TUI doesn't truncate the descriptions, so it is readable there:

Image

Plugins

none

OpenCode version

v1.2.10

Steps to reproduce

Use the following prompt:

Ask me the following question using `question` tool:
```
{
  "header": "Design Preferences",
  "multiple": false,
  "options": [
    {
      "description": "A thoroughly detailed elaboration on feature-packed and versatile user interfaces where every button, dropdown, and toggle enhances user functionality. These interfaces are often designed to provide expert-level control, complete with customization capabilities and depth-of-use for an audience that appreciates robust solutions often encountered in gaming or professional software suites.",
      "label": "Comprehensive Feature-Rich Interfaces"
    },
    {
      "description": "An extended discourse on achieving minimalism as a balance of aesthetic appeal and straightforward usability. Covers key principles such as negative space, focused interaction paths, optimized typography and subdued color schemes without overwhelming the user's cognitive load or attention span.",
      "label": "Elegant Minimalist Design Explained Further"
    }
  ],
  "question": "Would you like an extended detailed question about minimalist elegance, or one about the intricate beauty of comprehensive-feature interfaces?"
} 
```

Screenshot and/or share link

Image

Operating System

Windows 11

Terminal

OpenCode Desktop

Activity

  1. tredondo commented on Mar 11, 2026

    @tredondo

    This is a duplicate of #10283.

  2. aklajnert commented on Mar 12, 2026

    @aklajnert
    Author

    It touches the same problem, but the solution proposed there is wrong in my opinion. Limiting the model's output can bring more harm than good. I think this should be fixed in the GUI by allowing to see the full output of the question (as the TUI version does).

  3. tredondo commented on Mar 12, 2026

    @tredondo

    Agree. I've upvoted your comment on the other issue.

  4. removed
    bugSomething isn't working
    webRelates to opencode on web / desktop
    on May 3, 2026
  5. eXamadeus commented on Jun 27, 2026

    @eXamadeus
    Contributor

    I have a PR that should fix this: #34116

    Technically the long answers are already visible now in the web UI, but the scrolling functionality was an issue. The above fixes that and more.

  6. aklajnert commented on Jun 27, 2026

    @aklajnert
    Author

    @eXamadeus - I love the video presentation. I hope your PR gets merged, I have added "thumb" to it, so hopefully it will be less likely to close automatically :)

  7. eXamadeus commented on Jul 1, 2026

    @eXamadeus
    Contributor

    @aklajnert it's now live in 1.17.13!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

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