Skip to content

Detaching a board when the board select is open will wipe the dialog's state #1218

Open
@kittaakos

Description

@kittaakos

Describe the problem

It's a minor glitch, but when a board is disconnected when the board select dialog is open, it discards the state selected by the user.

To reproduce

  • Have a connected and recognized board as the selected one in IDE2 (for me it was MKR1000),
  • Open the board selector dialog,
  • Filter for nano,
  • Select Arduino Nano (you will see the green checkmark next to the selected board),
  • Unplug the MKR1000, and the board select dialog loses the Arduino Nano board selected by the user.

The two events are unrelated.

The user has to reselect Nano after detaching the board and pick an available port. This step must not be required.

unplug_when_select_rc8.mp4

Expected behavior

When the board select dialog is open, and the board is detached by the user, nothing happens. The user can click on OK and have Arduino Nano as the selected board.

Arduino IDE version

RC-8

Operating system

macOS

Operating system version

12.3.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

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority: mediumResolution is a medium prioritytopic: 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