Custom board menu selection reverts to default on new window open #2271
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
For the convenience of the user, Arduino IDE automatically configures the board and port selection of a new IDE window according to the configuration of the previous window.
In addition to the primary board selection, some board definitions have "custom board options" that allow additional configuration via arbitrary submenus added under the Tools menu.
🐛 The configuration of the custom board options revert to the default values when a new window is opened.
To reproduce
A new window will open.
🐛 The default ATmega328P option is selected in the Tools > Processor custom board option menu.
Select File > Save As... from the Arduino IDE menus.
🐛 The default ATmega328P option is selected in the Tools > Processor custom board option menu.
Expected behavior
The custom board options configuration from the parent window are used in new windows.
Arduino IDE version
69b7365
Operating system
Windows
Operating system version
11
Additional context
The behavior described here was introduced at ce02e26 / #2241.
The described behavior does not occur when using the IDE build from ed2d8ad or earlier (but note those versions had a related fault #2240).
Originally reported by @mjs513 at https://forum.arduino.cc/t/is-there-a-m4-and-m7-usage-for-dummies-document-d/1180371/10
Additional reports
Issue checklist
The text was updated successfully, but these errors were encountered: