opencode icon indicating copy to clipboard operation
opencode copied to clipboard

Key shortcuts mismatch

Open hello-sebastian opened this issue 2 weeks ago • 2 comments

Key shortcuts mismatch – On macOS, in the Go menu and in Settings there are: When I click Opt+Up/Down chat window is scrolled up/down – based on labels expected is switching sessions foreward/backward

OpenCode 2.3.0 Interface layout: Inbox

Zrzut ekranu 2026-11-16 o 23 01 10

hello-sebastian avatar Nov 16 '26 22:11 hello-sebastian

Thanks for the report and the screenshot!

The labels in your screenshot (Back ⌘[, Forward ⌘], Previous Session ⌥↑, Next Session ⌥↓) are the keys the app assigns to those commands. Back/Forward move through the places you've visited, so ⌘[ often lands on the session you were in before. Previous/Next Session move through your open sessions in the order they are listed. Because both can switch sessions, we need a bit more detail to tell whether something is actually swapped:

  1. Your OpenCode Desktop version (Settings / About).
  2. Which interface layout you use (e.g. side tabs or the Inbox), and whether you have changed any shortcuts in Settings → Shortcuts.
  3. Concrete steps and what you saw. For example: open sessions A, B and C (in that order in the list), then from C press ⌘[ and say which session you land on, then press ⌥↑ and say what happens. Please also say what you expected each key to do.

You can reply here with the details, or edit the issue. If you edit it, please also leave a comment saying you've updated it, so we know when you're done.

Possibly related issues, ordered by likelihood:

  • #62838: Previous/Next session shortcuts not switching sessions in the Inbox layout
  • #46852: session switching shortcuts following visit history instead of the visible order

opencodejr[bot] avatar Nov 16 '26 22:11 opencodejr[bot]

We haven't heard back, so I'm closing this for now. Your screenshot shows the keys the app assigns: Back ⌘[, Forward ⌘], Previous Session ⌥↑, Next Session ⌥↓. We couldn't tell whether the actions themselves are swapped or whether Back (⌘[) is landing on the previous session, which can look the same. To look into it we still need:

  • your OpenCode Desktop version
  • your interface layout, and whether you changed any shortcuts
  • steps showing what each key actually did, and what you expected

If you still see this, reply here with those details and the issue will reopen. Thanks for reporting!

opencodejr[bot] avatar Nov 17 '26 04:11 opencodejr[bot]