Description
Describe the bug
The "Select Other Board & Port" dialog allows any available board and port to be selected.
When the IDE is started, the dialog contains the list of ports as expected. However, after opening any additional
To Reproduce
- Ensure that your computer presents at least one virtual serial port, such as it will if an Arduino board is connected.
- Select File > New from the Arduino IDE menus.
ℹ️ It occurs on opening any new IDE window; not only on a new sketch. - Open the board selector dropdown menu:
- Select "Select Other Board & Port" from the dropdown menu.
🐛 Note that the "PORTS" section of the dialog says "NO PORTS DISCOVERED":
Expected behavior
The "Select Other Board & Port" dialog to always show the list of available ports.
Desktop
Original report
- OS: Windows 10
- Version: 2.0.0-rc2
Date: 2021-12-13T10:09:39.122Z
CLI Version: 0.20.2 [13783819]
Last verified with
- OS: Windows 10
- Version: 2.0.0-rc5-snapshot-c9b498f
Date: 2022-03-29T15:54:18.646Z
CLI Version: 0.21.0 [10107d24]
Additional context
The "PORTS" section of the dialog is populated as expected if a port is added or removed, which can be produced by connecting or disconnecting an Arduino board to your computer.
The issue occurs even in the first window if a reload occurs, such as what happens when certain preferences are changed.
The issue also occurs with the build from 49d12d9, so it was not introduced by a8ae0bb
It seems very similar to #605, except for the following significant difference:
- Pull out my USB connected board and plug it in again
- Still found no ports connected
Originally reported by @UKHeliBob at https://forum.arduino.cc/t/upload-does-nothing/930864/42