Board Selector only updates on board selection via other interfaces if associated port is selected #1206
Closed
3 tasks done
Labels
conclusion: resolved
Issue was resolved
topic: code
Related to content of the project itself
type: imperfection
Perceived defect in any part of project
Describe the problem
Arduino IDE 2.x offers three ways for the user to select a board for compilation and upload:
In addition to a board selection interface, the "Board Selector" also provides the most prominent indicator of which board is selected (in addition to the selection being shown in the status bar and Tools > Board menu).
Under any of the following conditions, the "Board Selector" will not update after a different board is selected from the Tools > Board menu or "Select Board" dialog:
🐛 The board selection indicated by the "Board Selector" is not the one which will be used for compiling and uploading, which is sure to be confusing to the user.
To reproduce
ⓘ If you don't have a port selected, you can select any board.
🐛 The "Board Selector" does not update to show the currently selected board:
😕 The sketch is compiled for the board selected in the Tools > Board menu:
🐛 The "Board Selector" does not update to show the currently selected board:
Expected behavior
"Board Selector" always shows the currently selected board.
Arduino IDE version
2.0.0-rc8-snapshot-ed41b25
Operating system
Windows
Operating system version
10
Additional context
I bisected the introduction of the issue to 4f27725 (does not occur when using the build for the previous commit 73835ec).
Also reported at: https://forum.arduino.cc/t/cpu-utilization-very-high/941187/44
Issue checklist
The text was updated successfully, but these errors were encountered: