Skip to content

Cannot add Additional Board Manager URLs #1444

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

Closed
3 tasks done
mevdev opened this issue Sep 15, 2022 · 1 comment
Closed
3 tasks done

Cannot add Additional Board Manager URLs #1444

mevdev opened this issue Sep 15, 2022 · 1 comment
Assignees
Labels
conclusion: duplicate Has already been submitted topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project

Comments

@mevdev
Copy link

mevdev commented Sep 15, 2022

Describe the problem

The Arduino IDE 2.0 or nightly is not able to accept any Additional Board Manager URLs.

It appears that they need to be selected from a list which is compressed into about 10 points height.
The modal window is not resizeable. The text area for 'additional URLs..' is resizable but does not aid.

To reproduce

macOS Monterey 12.5.1
Apple Silicon 16" Macbook Pro

Download 2.0 or nightly and try to put in a URL. The 'OK' button is never enabled.
If you hit the button on the right of the textfield (two windows overlapping), it brings up a window
Screen Shot 2022-09-15 at 1 16 17 PM

You are not able to view the content in the dark grey line (which is probably a table view list).

Screen Shot 2022-09-15 at 1 16 35 PM

No urls from this supported list are accepted: https://github.com/arduino/Arduino/wiki/Unofficial-list-of-3rd-party-boards-support-urls

When you click 'OK' to dismiss that modal the Preferences window's OK button is not enabled.

Expected behavior

Expected to put in an additional Board Manager URL and have support for third party boards.

Arduino IDE version

2.0

Operating system

macOS

Operating system version

12.5.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
@mevdev mevdev added the type: imperfection Perceived defect in any part of project label Sep 15, 2022
@per1234 per1234 self-assigned this Sep 16, 2022
@per1234
Copy link
Contributor

per1234 commented Sep 16, 2022

Hi @mevdev. Thanks so much for your report.

You are not able to view the content in the dark grey line (which is probably a table view list).

No, this is a horizontal scroll bar. There are some problems with the Arduino IDE UI layout related to relative sizing of various elements (#1350), fixes for some of which are already in progress (#1406). I have added a note about this specific bug to #1350 so that we can make sure it is fixed along with the other issues reported there. However, even though this is not an ideal layout, it does not in any way break the functionality of this dialog.

When you click 'OK' to dismiss that modal the Preferences window's OK button is not enabled.

The reason for this is completely unrelated to the "Additional Boards Manager URLs" preference. You can see the reason here:

image

The "OK" button is disabled when the path set in the "Sketchbook location" preference does not exist.

There is currently a bug in the Arduino IDE that causes it to not automatically create this folder (#1445).

The solution is for you to manually create an empty folder at this path:

  1. If you still have the "Preferences" dialog open in the Arduino IDE, click the "CANCEL" button.
    This is necessary to avoid another bug in the dialog: #1259
  2. Create an empty folder at this path:
    /Users/robert/Documents/Arduino
    
    You can use your file manager program to create this folder, or mkdir /Users/robert/Documents/Arduino from the command line terminal if you prefer.
  3. Select File > Preferences from the Arduino IDE menus.
  4. Configure the "Additional Board Manager URLs" preference as before.

This time, you should find that the "OK" button is enabled and that you can successfully set this preference and any others.

Since we have dedicated issues for each of the specific issues highlighted by this report, I'll go ahead and close this, but I will continue to monitor the thread. Please let me know if you have any questions or problems while following those instructions.

@per1234 per1234 closed this as not planned Won't fix, can't repro, duplicate, stale Sep 16, 2022
@per1234 per1234 added conclusion: duplicate Has already been submitted topic: code Related to content of the project itself labels Sep 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
conclusion: duplicate Has already been submitted topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project
Projects
None yet
Development

No branches or pull requests

2 participants