Skip to content

The board <select> UI component incorrectly shows multiple selected items in the firmware updater, and the SSL root certificate uploader dialogs if the same kind of board is connected multiple times #2158

Closed
@kittaakos

Description

@kittaakos

Describe the problem

The board <select> UI component looks bogus. IDE2 detects "selection" based on the FQBN only. When I have the same board detected by the CLI multiple times, multiple items are selected in the <select> component. (Note, it is sufficient to associate the same FQBN with any detected ports, such as built-in serial, etc. You do not need to have the boards to reproduce the bug.

To reproduce

  • Have two boards capable of uploading SSL root certificate or firmware updater boards (MKR1000, Nano 33 IoT, etc.),
  • If you do not have the boards, you can still configure them as the board of any detected port,
  • Open the SSL root certificate or firmware uploader dialogs,
  • See that multiple <option>s are selected in the <select> UI element
board_select_ide2.mp4

Expected behavior

IDE2 can distinguish by port if there is a FQBN collision.

Arduino IDE version

2.1.1

Operating system

macOS

Operating system version

13.4.1

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

Activity

added a commit that references this issue on Aug 17, 2023
e684eec
added a commit that references this issue on Mar 7, 2024
69ae38e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      Participants

      @kittaakos@per1234

      Issue actions

        The board `<select>` UI component incorrectly shows multiple selected items in the firmware updater, and the SSL root certificate uploader dialogs if the same kind of board is connected multiple times · Issue #2158 · arduino/arduino-ide