Open
Description
Describe the problem
The Arduino IDE 2.x reliably identifies connected Arduino board and ports. It is possible to view the connected board in the GUI. However, if you remove the board and connect another one, it isn't updated to reflect this change. You have to click on the drop down menu to manually reselect the board that was automatically identified.
To reproduce
Video:
https://loom.com/share/70ce701f376f4a449289bbb836198df7
- Open Arduino IDE 2.x
- Ensure that NO Arduino boards are connected
- Connect a MKR WiFi 1010
- If not already selected, choose
Arduino MKR WiFi 1000
from the drop down menu - Remove the board. Even though the board is removed, you can see that the board is still there.
- Connect a Nano 33 IoT. Now we have connected another board, yet the IDE still displays
Arduino MKR WiFi 1000
Expected behavior
I expect that:
- The IDE would display info when a board is disconnected
- When a new board is connected (and no other boards are connected to the PC), the IDE automatically selects that board
Arduino IDE version
IDE 2.0.0-rc9.2.nightly-20220818
Operating system
Windows
Operating system version
Windows 10
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