-
-
Notifications
You must be signed in to change notification settings - Fork 408
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Custom board options menu items not in order specified by boards.txt #801
Comments
Thanks @KurtE. You make a valuable observation that this bug is universal to the sorting of all custom board option menus (except when the arbitrary sorting order of the IDE happens to match coincidentally). I had modified the issue title to make sure the scope of this issue is clear to interested parties.
Even though they are very similar, I think I will use a dedicated issue to track the Boards menu sorting since I think this might facilitate the tracking, planning, and development work: #802 |
I want to confirm the behavior after using the tips in reports #591 and #1030 and removing all the Arduino user data in the folder:
With this Arduino, IDE 2.0-rc9 updates the Tools->Board part number after restarting the IDE. The pictures confirm what this issue describes but emphasize that wiping the user data does not change anything. |
I am no longer able to reproduce this. I bisected the fix to 960a2d0. I can still reproduce the fault using the build for the previous commit (e577de4). Note that it is only the order of the option values (e.g., Tools > USB Type > MIDIx16) that was fixed. There is still a bug in the ordering of the parent menu items (e.g., Tools > USB Type). That bug is being tracked in a dedicated issue #2036 |
Describe the problem
In the boards.txt file for the Teensy we have specified a list of menu items for USB Type, e.g.,
However, when we go in the IDE 2.0 when we select USB Type from the Tools dropdown (after selecting the board the order of USB Types appears to be in random order:
This behavior not constrained to just this menu. The list of boards is also not in the order specified.
To reproduce
Expected behavior
Order specified in the
boards.txt
file should be the order shown in the menu item in the Tools drop downs for the board specified.Arduino IDE version
Original report
2.0.0-rc3-nightly.20220201
Last verified with
9a6a457
Operating system
Windows
Operating system version
Issue checklist
The text was updated successfully, but these errors were encountered: