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

Show "Tools > Port" menu even when empty #655

Closed
per1234 opened this issue Dec 2, 2021 · 1 comment · Fixed by #1774
Closed

Show "Tools > Port" menu even when empty #655

per1234 opened this issue Dec 2, 2021 · 1 comment · Fixed by #1774
Assignees
Labels
conclusion: resolved Issue was resolved topic: code Related to content of the project itself type: enhancement Proposed improvement

Comments

@per1234
Copy link
Contributor

per1234 commented Dec 2, 2021

Describe the request

Show A Port menu item under the Arduino IDE Tools menu even when there are no ports to populate that Tools > Port menu.

🙂 The lack of ports will be communicated to the user in an intuitive manner.

Describe the current behavior

The Arduino IDE's Tools > Port menu is populated by the discovered ports.

An unexpected lack of a port is a common problem for Arduino users. This might happen when the user has a bad USB cable, didn't install the drivers for their board, burned up the board, etc.

Currently, when no ports were discovered the Tools > Port menu item is missing entirely. I feel this is not a great user experience. An empty menu better communicates the lack of a port to the user than the menu itself being absent. The missing menu gives the user the impression there is a fault in the Arduino IDE application rather than a lack of an external resource listed by the menu.

image

Compare to the behavior of Arduino IDE 1.x under these conditions:

image

Arduino IDE version

2.0.0-rc1-snapshot.f0d9894

Operating system

Windows

Operating system version

10

Additional context

There are some other menus that are dependent on external resources:


Originally reported at https://forum.arduino.cc/t/compilation-fails-due-to-no-upload-port-specified/926836/5


Additional reports:

@per1234 per1234 added type: enhancement Proposed improvement topic: code Related to content of the project itself labels Dec 2, 2021
@per1234 per1234 changed the title Show menu items even when empty Show "Tools > Port" menu even when empty Sep 19, 2022
@seaxwi
Copy link

seaxwi commented Dec 7, 2022

I think this issue should be prioritized. I am getting feedback from several Help Center readers that are confused about why the menu option is missing. I'm addressing this on my end by updating content, but the fact remains that there are tons of content out there assuming that the Tools > Port menu will always be available. I agree with @per1234 about an empty menu being fundamentally better for user experience.

I suggest displaying the text "No ports discovered" (or whatever the Board Selector shows). This way there is a shared "phrase" that lends itself to searching and writing troubleshooting content.

@kittaakos kittaakos assigned kittaakos and unassigned 91volt Dec 15, 2022
@kittaakos kittaakos added status: in progress Work is in progress on this and removed status: in progress Work is in progress on this labels Dec 15, 2022
kittaakos pushed a commit that referenced this issue Dec 21, 2022
Closes #1764
Closes #796
Closes #569
Closes #655

Signed-off-by: Akos Kitta <a.kitta@arduino.cc>
@kittaakos kittaakos added the conclusion: resolved Issue was resolved label Dec 21, 2022
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: enhancement Proposed improvement
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants