Closed
Description
Describe the bug
🐛 After installing a library via Sketch > Include Library > Add .ZIP Library...", the library does not appear in the "File > Examples" and "Sketch > Include Library" menus until after the IDE is restarted.
To Reproduce
- Obtain an library in suitable
.zip
format which is not already installed on your computer: https://github.com/arduino-libraries/ArduinoMDNS/archive/refs/heads/master.zip - Select Sketch > Include Library > Add .ZIP Library... from the Arduino IDE menus.
- Select the library
.zip
(ArduinoMDNS-master.zip
). - Click the Open button.
- Select File > Examples from the Arduino IDE menus.
🐛 Note that the expected "ArduinoMDNS" submenu item is not present. - Select Sketch > Include Library from the Arduino IDE menus.
🐛 Note that the expected "ArduinoMDNS" submenu item is not present. - Select File > Quit from the Arduino IDE menus.
- Start the Arduino IDE.
- Select File > Examples from the Arduino IDE menus.
🙂 Note that the expected "ArduinoMDNS" submenu item is now present. - Select Sketch > Include Library from the Arduino IDE menus.
🙂 Note that the expected "ArduinoMDNS" submenu item is now present.
Expected behavior
Dependent menus are refreshed after .zip
library install
Desktop
- OS: Windows 10
- Version: 2.0.0-rc1-snapshot.f0d9894
Date: 2021-11-30T16:25:41.414Z
CLI Version: 0.20.1 [abb21449]
Additional context
These menus are updated after .zip
library installation in the classic Arduino IDE.