Skip to content

Mouse back/forward buttons change editor title, rather than moving through file/cursor history #1704

Open
@nyanpasu64

Description

@nyanpasu64

Describe the problem

When I press the page back/forward buttons on my mouse, it navigates through the IDE's Electron history rather than triggering the "Go Back/Forward" actions. I suspect (but don't know) this breaks code completion or IDE functionality as well.

To reproduce

  • Open a project in Arduino IDE 2.0.2 on Windows 10.
  • Plug in a mouse with back/forward buttons.
  • After moving around in code, press them

Expected behavior

The buttons move back and forward in cursor movement history, like Alt+Left/Right.

Arduino IDE version

2.0.3-nightly-20221121

Operating system

Windows

Operating system version

10, 21H1 19043 Ameliorated

Additional context

No response

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

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions