Label of unidentified port missing in "Board Selector" after opening new window #1383
Closed
3 tasks done
Labels
conclusion: resolved
Issue was resolved
criticality: medium
Of moderate impact
topic: code
Related to content of the project itself
type: imperfection
Perceived defect in any part of project
Describe the problem
In addition to the traditional Tools > Board/Port menus of Arduino IDE 1.x, Arduino IDE 2.x provides an alternative interface called the "Board Selector" on the toolbar for identifying which board and port is selected, or for changing the the selection.
The "Board Selector" menu items consist of two components:
If a board can be identified for a port, that board name is shown automatically in the menu, but the user also has the ability to make an association between any board and and port, which will be reflected in the "Board Selector" menu.
🐛 If the selected port does not have a board identification, the port label will be missing from the selection in the "Board Selector" menu after opening a new Arduino IDE window.
To reproduce
Equipment
Any unidentified port. This could be an internal system port, an Arduino board which does not produce an identification (e.g., classic Arduino Nano), or any other device (e.g., "FTDI" module/cable).
Steps
ⓘ The board selection was chosen arbitrarily. Any board selection can be used.
🙂 The port label is shown in the menu selection, as expected:
🙂 The port is still selected, as expected:
🐛 The port label is missing from the menu selection:
Expected behavior
Port label is always shown in the "Board Selector" menu.
Arduino IDE version
2.0.0-rc9.2.snapshot-0d545be
Operating system
Windows, Linux
Operating system version
Windows 10, Ubuntu 20.04
Additional context
I bisected the introduction of the bug to #1335 (does not occur when using the build from b5f9aa0)
I used the Tools menus in the instructions above in order to make them as clear as possible, but the bug also occurs when the port and board are selected via the "Board Selector" interfaces.
Issue checklist
The text was updated successfully, but these errors were encountered: