Skip to content
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

The board <select> UI component incorrectly shows multiple selected items in the firmware updater, and the SSL root certificate uploader dialogs if the same kind of board is connected multiple times #2158

Closed
3 tasks done
kittaakos opened this issue Jul 31, 2023 · 0 comments · Fixed by #2165
Labels
conclusion: resolved Issue was resolved topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project

Comments

@kittaakos
Copy link
Contributor

kittaakos commented Jul 31, 2023

Describe the problem

The board <select> UI component looks bogus. IDE2 detects "selection" based on the FQBN only. When I have the same board detected by the CLI multiple times, multiple items are selected in the <select> component. (Note, it is sufficient to associate the same FQBN with any detected ports, such as built-in serial, etc. You do not need to have the boards to reproduce the bug.

To reproduce

  • Have two boards capable of uploading SSL root certificate or firmware updater boards (MKR1000, Nano 33 IoT, etc.),
  • If you do not have the boards, you can still configure them as the board of any detected port,
  • Open the SSL root certificate or firmware uploader dialogs,
  • See that multiple <option>s are selected in the <select> UI element
board_select_ide2.mp4

Expected behavior

IDE2 can distinguish by port if there is a FQBN collision.

Arduino IDE version

2.1.1

Operating system

macOS

Operating system version

13.4.1

Additional context

No response

Issue checklist

  • I searched for previous reports in the issue tracker
  • I verified the problem still occurs when using the latest nightly build
  • My report contains all necessary details
@kittaakos kittaakos added topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project labels Jul 31, 2023
kittaakos pushed a commit that referenced this issue Aug 17, 2023
Closes #43
Closes #82
Closes #1319
Closes #1366
Closes #2143
Closes #2158

Signed-off-by: Akos Kitta <a.kitta@arduino.cc>
@per1234 per1234 added the conclusion: resolved Issue was resolved label Aug 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
conclusion: resolved Issue was resolved topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants