Skip to content

[BUG] Question tool takes over command palette dialog #28935

@julio-Cortes

Description

@julio-Cortes

Description

Basically the title, having the command palette open while the agent was working. The question tool stole the keyboard inputs:

  • Arrow keys and enter will go towards the question.
  • Writing letters will go towards the search bar of the command palette

I think its kinda debatable to call it a bug, but its certainly counterintuitive UX wise. I'd be happy to submit a PR to fix this if it makes sense.

Plugins

None

OpenCode version

1.15.10

Steps to reproduce

  1. Get the agent to do some sort of task that will require the use of the question tool or permissions (i told it to ask me wheter today's date was even or odd)
  2. Open the command palette before it gets to ask the question (ctrl + p)
  3. Try to write and select something in the dialog

The dialog will recieve everything but the arrow keys, enter and ESC which will go towards the question/permission request

Screenshot and/or share link

Image the session will not be of much use (i dont think the ss either but whatevs)

Operating System

Arch 7.0.9

Terminal

Ghostty

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions