Skip to content

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

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
kittaakos opened this issue Jul 19, 2022 · 0 comments
Open
3 tasks done
Labels
priority: medium Resolution is a medium priority topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project

Comments

@kittaakos
Copy link
Contributor

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
@kittaakos kittaakos added type: imperfection Perceived defect in any part of project topic: code Related to content of the project itself labels Jul 19, 2022
@fstasi fstasi added the priority: medium Resolution is a medium priority label Jul 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: medium Resolution is a medium priority 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

2 participants