Skip to content

Colliding default keyboard shortcuts #1658

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
3 tasks done
per1234 opened this issue Nov 10, 2022 · 0 comments
Open
3 tasks done

Colliding default keyboard shortcuts #1658

per1234 opened this issue Nov 10, 2022 · 0 comments
Labels
topic: accessibility Enabling the use of the software by everyone topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project

Comments

@per1234
Copy link
Contributor

per1234 commented Nov 10, 2022

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
@per1234 per1234 added topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project topic: accessibility Enabling the use of the software by everyone labels Nov 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: accessibility Enabling the use of the software by everyone topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project
Projects
None yet
Development

No branches or pull requests

1 participant