desktop: Models/Providers dialogs cannot be scrolled (mouse wheel and arrow keys dead, no scrollbar)
Summary
In OpenCode Desktop, lists inside the Models and Providers settings dialogs cannot be scrolled or navigated: the mouse wheel/trackpad does nothing, no scrollbar is rendered, and keyboard navigation (arrow keys, PgUp/PgDn, Home/End) is completely unresponsive. Entries below the visible area cannot be reached, so models and providers below the fold are impossible to select from the UI.
Environment
- opencode version: Desktop 2.0.11 (bundled CLI v2.0.11)
- OS: macOS, Darwin 27.0.0, arm64 (Apple Silicon M1)
- Terminal: N/A (Desktop app)
- Shell: /bin/bash
- Install/channel: stable
- Active plugins: none
Reproduction
- Open OpenCode Desktop on macOS
- Open the model picker from the composer (or Settings > Models / Providers)
- Scroll the list with the mouse wheel or trackpad: no response, no scrollbar
- Press arrow keys, PgUp/PgDn or Home/End: selection and viewport do not move
- Only option is to close the dialog
Expected Behavior
The list scrolls with the wheel/trackpad, moves the highlight with arrow keys, and shows a scrollbar when content overflows.
Actual Behavior
The list is completely static: no scroll response, no scrollbar, no keyboard navigation. This reproduces consistently on every attempt.
Additional Context
- Possibly a duplicate or cross-platform case of #41720 (same dialogs broken on Windows 10, Desktop 1.18.16). Related: #24346 (mouse wheel scrolling missing on macOS, closed as not planned).
- Workaround confirmed: set the default model in ~/.config/opencode/opencode.json via the "model" field (e.g. "openrouter/vendor/model-id"). Verified loaded by the server via /api/config, so this is a UI-only bug.
Thanks for the detailed report and the workaround. I couldn't try this here: it needs OpenCode Desktop on macOS, and our automated environment can only run the terminal version on Linux. A maintainer with a Mac will need to check it.
One thing that would help in the meantime: the model picker and settings dialogs have changed quite a bit since 2.0.11, including a new desktop model dialog and changes to scrolling and scrollbars. If you can update Desktop to the latest release, please tell us here whether the lists still won't scroll or respond to the arrow keys.
Related:
- #41720: the same symptoms on Windows with Desktop 1.18.16 (v1). It was closed in the v1 cleanup, which asked for a new report against 2.0.
Thanks for the report. This no longer reproduces on the current dev branch.
I checked both dialogs with a long list:
- Model picker: the mouse wheel scrolls the list, a scrollbar shows when it overflows, and the arrow keys move the selection and keep it in view.
- Manage models: the mouse wheel scrolls the list.
The dialogs have been rebuilt since 2.0.11. Closing this as fixed. If you still see it on the latest release, please open a new issue with your version and OS.