Skip to content

Discoveries never run on first start up #671

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
per1234 opened this issue Dec 8, 2021 · 0 comments · Fixed by #674
Closed

Discoveries never run on first start up #671

per1234 opened this issue Dec 8, 2021 · 0 comments · Fixed by #674
Assignees
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

@per1234
Copy link
Contributor

per1234 commented Dec 8, 2021

Describe the bug

The discovery tools are used to detect changes to the serial and network ports.

On the first run of the IDE, these tools never run, so new ports are not discovered and old ports continue to be listed even after disconnection.

To Reproduce

  1. Quit the IDE if it is running.
  2. Delete the configuration folder (simulating a fresh install):
    C:\Users\<user name>\AppData\Roaming\arduino-ide\
    
  3. Start the Arduino IDE.
  4. Open Windows Task Manager (Ctrl+Shift+Esc)
  5. Expand the "Arduino IDE" process tree.
    🐛 Note that mdns-discovery.exe is not running.
    🐛 Note that serial-discovery.exe is not running.
  6. Connect an Arduino board to your computer.
    🐛 Note that the board is not discovered.
  7. Select File > Quit from the Arduino IDE menus.
  8. Start the Arduino IDE.
  9. Expand the "Arduino IDE" process tree in Task Manager.
    🙂 Note that mdns-discovery.exe is now running.
    🙂 Note that serial-discovery.exe is now running.

Expected behavior

Discoveries run on first start up.

Desktop

  • OS: Windows 10
  • Version: 2.0.0-rc1-snapshot.767b09d
    Date: 2021-12-07T16:40:38.636Z
    CLI Version: 0.20.1 [abb21449]
@per1234 per1234 added topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project labels Dec 8, 2021
@per1234 per1234 added the conclusion: resolved Issue was resolved label Feb 20, 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: imperfection Perceived defect in any part of project
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants