Skip to content

Colliding default keyboard shortcuts #1658

Open
@per1234

Description

@per1234

Describe the problem

The default keyboard shortcuts (AKA "hotkey" or "key binding") come from two sources:

🐛 Some keyboard shortcuts are used by both sources in the same context, but for different uses. In this case, the collision causes the keyboard shortcut to not work for one of the uses, which will be confusing to the user.

  • "Toggle Output View" / "arduino-upload-sketch-using-programmer"
  • "Format Document" / "Toggle Library Manager View"
    ❗ This only affects Linux; Windows and macOS use a different shortcut for "Format Document".
  • "Toggle Outline View" / "Toggle Library Manager View"
    ❗ This only affects Windows and macOS; inexplicably, no default keyboard shortcut is set for this command on Linux.
  • "Toggle Boards Manager View" / "Toggle Sketchbook View"
  • "arduino-find-next" / "Go to Line/Column..."
  • "Go to Symbol in Workspace..." / "arduino-auto-format"

The list above is incomplete. A comprehensive review must be done of all keyboard shortcuts.

To reproduce

  1. Select File > Advanced > Keyboard Shortcuts from the Arduino IDE menus.
    A "Keyboard Shortcuts" view will open in the main panel.
  2. In the "Search keybindings" field of the view, type Toggle Output View
  3. Take note of the keyboard shortcut shown under the "Keybinding" column: Ctrl+Shift+U (Command+Shift+U for macOS users).
  4. Press the Ctrl+Shift+U keyboard shortcut.

🐛 The IDE attempts an "Upload Using Programmer" operation instead of toggling the "Output" panel.

Expected behavior

Default keyboard shortcuts do not collide with each other.

Arduino IDE version

3a70547

Operating system

All

Operating system version

Any

Additional context

Additional reports

Related


Keywords

  • "keyboard shortcut"

  • "key binding"

  • "keybinding"

  • "hotkey"

  • "hot key"

  • "key sequence"

  • "key chord"

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: accessibilityEnabling the use of the software by everyonetopic: 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