Skip to content

Nordic keyboard layout not supported for keyboard shortcuts #1694

@Wezz19

Description

@Wezz19

Describe the problem

By default the IDE uses Ctrl+ä for Comment/Uncomment.
image

It works but I noticed that also Ctrl+' works for Comment/Uncomment.

The settings mentions only Ctrl+' but when you try to edit it actually suggests Ctrl+/.
image

Also Ctrl+ä is not possible to use even though it is in use by default. It's confusing.
image

To reproduce

Use a Nordic keyboard with the Arduino IDE.

This can also be reproduced by using the On Screen Keyboard in windows 10/11
Instructions for Win10:

  1. START => SETTINGS => Time & Language => Language
  2. Select your preferred language in the list. Let's say English (United States) is selected.
  3. Press Options
  4. Press Add a keyboard, and add Swedish or Finnish QWERTY. They are identical.

Now this can be tested in the Arduino IDE.

  1. Start the Arduino IDE and choose File=>Advanced=>Keyboard Shortcuts
  2. Now open the On Screen Keyboard by pressing [WINDOWS button]+R, write osk.exe and press enter
  3. Make sure Swedish or Finnish is selected as the keyboard language by pressing [WINDOWS button]+SPACE
  4. Double click on anything in the list and empty the textbox in the popup window
  5. While having the textbox selected, use the OSK and press å or ä or ö with the mouse pointer

Expected behavior

It would be less confusing for the Nordic countries if their keyboard layout was supported.

Arduino IDE version

2.0.2

Operating system

Windows

Operating system version

10

Additional context

Tested with a Nordic (includes Å Ä Ö keys) Logitech k830.
å ä ö doesn't work in a keyboard shortcut.
The [ ä ] key is on the left of [ ' ].
/ doesn't have it's own key and is accessed with SHIFT+7.

This is related but covers another part of the issue:
#1693


Keywords

  • "keyboard shortcut"

  • "key binding"

  • "keybinding"

  • "hotkey"

  • "hot key"

  • "key sequence"

  • "key chord"

  • "keyboard layout"

Issue checklist

  • I searched for previous reports in the issue tracker
  • I verified the problem still occurs when using the latest nightly build
  • My report contains all necessary details

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic: codeRelated to content of the project itselftype: imperfectionPerceived defect in any part of project

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions