Picture is worth a thousand words...
Additionally, the boards manager will not allow any new boards to be listed until you close your project and reopen the IDE.
Thanks @weshowe
This bug is tracked by the IDE developers here:
opened 01:04PM - 03 Mar 22 UTC
closed 02:52PM - 04 Apr 22 UTC
conclusion: resolved topic: code type: imperfection criticality: high
## Describe the bug Arduino IDE supports adding installing arbitrary boards p… latforms via [**Boards Manager**](https://docs.arduino.cc/software/ide-v2/tutorials/ide-v2-board-manager) by adding the URLs of their [package index](https://arduino.github.io/arduino-cli/dev/package_index_json-specification/) file to the "**Additional Boards Manager URLs**" preference. Since users may have several URLs, a dedicated "**Additional Boards Manager URLs**" dialog is offered with a multi-line field. 🐛 The height of the field is very small, to the point where it is not clear that it is an input field at all. ## To Reproduce 1. Select **File > Preferences...** from the Arduino IDE menus. 1. Click the button on the right side of the "**Additional Boards Manager URLs**" field. 🐛 The height of the field is very small:  ## Expected behavior Usable input field height in the "**Additional Boards Manager URLs**" dialog, as it was in previous versions:  ## Desktop - OS: Windows 10 - Version: 2.0.0-rc4-snapshot-0fc7c78 Date: 2022-03-03T08:39:37.612Z CLI Version: 0.21.0 [10107d24] ## Additional context I bisected the bug to https://github.com/arduino/arduino-ide/commit/112153fb965f63d952d126c8244cd3f84f0a1a1b (it does not occur when using the build from the previous commit https://github.com/arduino/arduino-ide/commit/69ac1f4779589d0d21ce3d37c180b3393ad6156c). --- Originally reported at https://forum.arduino.cc/t/additional-boards-manager-urls-page-cant-read/965207
A fix has already been prepared:
arduino:main ← kittaakos:#919
opened 01:27PM - 17 Mar 22 UTC
### Motivation This PR fixes various 3rd party URLs issues: - fixes a pro… blem when parsing an empty/blank string into 3rd part URLs array (#919), - the height of the 3rd party URLs `textarea` height (#881) ### Change description - Single-sourced and fixed the way we parse a string to 3rd party URLs, added tests. - Adjusted the style of the dialog content `display` to fix the `textarea` height in the 3rd party URLs selector dialog. Before: <img width="720" alt="Screen Shot 2022-03-17 at 14 18 00" src="https://user-images.githubusercontent.com/1405703/158818111-33e5981e-e385-4dec-bb02-52ba9235e202.png"> After: <img width="716" alt="Screen Shot 2022-03-17 at 14 17 47" src="https://user-images.githubusercontent.com/1405703/158818089-b4f7ce1e-ef46-4f7d-8319-8f2a165767cb.png"> ### Other information I am happy to split the PR into two, however, I thought it's easier to verify the 3rd party URLs changes in one shot. Let me know if a PR split is desired. > [ ] Docs have been added / updated (for bug fixes / features) I do not know what this means. Thanks! ### Reviewer checklist * [ ] PR addresses a single concern. (no, I can open a follow-up with arduino/arduino-ide#881 only, if required) * [x] The PR has no duplicates (please search among the [Pull Requests](https://github.com/arduino/arduino-ide/pulls) before creating one) * [x] PR title and description are properly filled. * [ ] Docs have been added / updated (for bug fixes / features)
If you would like to give it a try, tester builds are available. I'll provide the instructions:
Sign in to your GitHub account. (GitHub only allows downloads of the tester builds when you are signed in) Open this page in your browser: https://github.com/arduino/arduino-ide/actions/runs/2052094386#artifacts Click the "Windows_X86-64_zip " link under the "Artifacts " section of the page. Wait for the download to finish. Unzip the downloaded file. Unzip the ZIP file you find inside the unzipped file. Run the Arduino IDE.exe file from the unzipped folder. This bug is being tracked by the Arduino IDE developers here:
opened 09:31PM - 26 Nov 21 UTC
closed 07:04AM - 08 Jul 22 UTC
conclusion: resolved topic: code type: imperfection
## Describe the bug In order to [install a 3rd party boards platform via Boar… ds Manager](https://www.arduino.cc/en/guide/cores), the user must first add its [package index](https://arduino.github.io/arduino-cli/dev/package_index_json-specification/) URL to the Arduino IDE's **File > Preferences > Additional Boards Manager URLs** field. 🐛 After doing that, they will open Boards Manager and expect to find the platforms from that package index listed in addition to the default platforms of [the primary official package index](https://downloads.arduino.cc/packages/package_index.json), as it works in the classic IDE. However, those platforms will not be shown because the Arduino IDE never downloaded the new package index after the user added its URL to the preferences. The user must restart the IDE in order to trigger the package index download. ## To Reproduce 1. If present, delete the following: - `<directories.data>/package_esp32_index.json` - `<directories.data>/packages/esp32/hardware/` 1. Start the Arduino IDE. 1. Select **File > Preferences** from the Arduino IDE menus. 1. Add the following URL: ``` https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json ``` (The issue is not specific to this package index. I just picked an arbitrary one for the sake of the demo.) 1. Click the <kbd>OK</kbd> button. 1. Watch `directories.data` for some time. 🐛 Note that the expected `package_esp32_index.json` file never appeared. 1. Open Boards Manager 1. Watch `directories.data` for some time. 🐛 Note that the expected `package_esp32_index.json` file never appeared. 1. Look for the expected "**esp32 by Espressif Systems**" platform in the Boards Manager offerings. 🐛 Note that it is not present. 1. Select **File > Quit** from the Arduino IDE menus. 1. Start the Arduino IDE. 1. Watch `directories.data`. 🙂 Note that the `package_esp32_index.json` file now appears. 1. Open Boards Manager 1. Look for the expected "**esp32 by Espressif Systems**" platform in the Boards Manager offerings. 🙂 Note that it is now present. ## Expected behavior Package index is downloaded after adding a new URL to **File > Preferences > Additional Boards Manager URLs**. ## Desktop - OS: Windows 10, Ubuntu 20.04 - Version: 2.0.0-beta.12-snapshot.a090dfe Date: 2021-11-25T17:24:00.480Z CLI Version: 0.20.0 [553c6375]
If you have a GitHub account, you can subscribe to that issue to get notifications of any new developments related to this subject.
Hey, thanks for letting me know. I am just noting the hiccups I find in my travels. I am NOT ready (lacking sufficient experience) to contribute to the GitHub effort. I'm just learning new things that interest me. I am glad motivated people, like yourself, can help the developers take note of these issues so they can deliver a product newer users can feel a sense of trust in; believing things just work. I figured out some workarounds, and I am moving along despite the issues. In the main, IDE 2.0 works, and produces sound results that translate into working projects. All I want to do is help dress the rough spots when I find them.
Thanks! The feedback is very welcome.
Reporting problems you find during testing or proposals for enhancements here on the forum is a great way to make valuable contributions. I try to act as a "bridge" of sorts between the forum and the GitHub issue trackers. This allows the community to provide feedback via their preferred communication channel while also allowing the developers to spend more of their time working the magic we need so much in the code base by providing them with triaged formal reports.
And I appreciate that you do. I try not to abuse it.
1 Like
Good news! The bug with the Boards Manager dialog has now been fixed.
It is now available for testing via the nightly builds, so the instructions in my previous reply are no longer required.
The download links for the nightly builds are listed here, and do not require a GitHub account:
https://github.com/arduino/arduino-ide#nightly-builds
system Closed October 4, 2022, 6:00am 8 This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.