Skip to content

Middle click on "More info" Boards/Library Manager links opens page in non-closable Arduino IDE window #2481

@per1234

Description

@per1234

Describe the problem

The Boards Manager and Library Manager views contain a list of the available boards platforms and libraries. Each entry in the list contains a "More info" link, which leads to a URL that provides the user with more information about that item. When the user left clicks this link, the URL is opened in their web browser as expected.

🐛 If the user middle clicks on the link, the URL is opened in a new Arduino IDE window, which can only be closed by closing the Arduino IDE window from which it was spawned.

To reproduce

  1. Click the link in the activity bar to open the "Boards Manager" view.
  2. Hover the mouse pointer over the "More info" link at the bottom of the "Arduino AVR Boards" entry in the Boards Manager view.
  3. Click the middle mouse button.
    🐛 https://www.arduino.cc/ is opened in an Arduino IDE window instead of in the web browser as expected.
  4. Click the X icon at the top right corner of the new Arduino IDE window.
    🐛 The window does not close.
  5. Select Window > Close from the menus in the new Arduino IDE window.
    🐛 The window does not close.
  6. Select File > Exit from the menus in the new Arduino IDE window.
    🐛 All Arduino IDE windows are closed.

Expected behavior

Links always open in the web browser.

Middle clicking on a link either has no effect, or else has the same effect as a left click.

Arduino IDE version

aa9b10d

Operating system

  • Windows

Operating system version

  • Windows 10
  • Windows 11

Additional context

Originally reported by @vvb333007 at https://forum.arduino.cc/t/ide-2-x-interface-bug/1288907

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