Skip to content

Mode switching keyboard shortcut mapped to physical key instead of keyboard layout #6161

@shlgug

Description

@shlgug

App Version

3.23.19

API Provider

Anthropic

Model Used

N/A

Roo Code Task Links (Optional)

When using the Dvorak keyboard layout (I'm using Windows 11), every time I paste into the message area RooCode's mode changes. The issue is that the Dvorak V key is in the position of the Qwerty Period key, so ctrl-v causes the mode to switch. Ctrl-Period should use the same period that the current keyboard key is mapped to, not the Qwerty position of the key.

🔁 Steps to Reproduce

  1. On Windows add the Dvorak keyboard layout and switch to that layout.
  2. Try typing with the key that is the period key in the Qwerty layout, and you will see that it types "v".
  3. Now try copying and pasting into the RooCode message window. You will see that the mode changes.
  4. Now try Ctrl-Period on the Dvorak keyboard which is in the same position as the "e" key in the Qwerty keyboard. You will see that the mode does not change.

💥 Outcome Summary

Ctrl + period (and I would assume other keyboard shortcuts) are mapped to the Qwerty keyboard key positions even if the user is using a different keyboard layout.

📄 Relevant Logs or Errors (Optional)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue - In ProgressSomeone is actively working on this. Should link to a PR soon.bugSomething isn't working

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions