Open
Description
Describe the problem
At the first launch, the built in examples and the library examples menu is correctly shown.
after selecting a random sketch from the examples list, then the menu shows only the built in examples
First launch:
same menu after opening any sketch:
To reproduce
- Go to File -> Examples (all examples are displayed)
- Click on any examples
- Go to File -> Examples (only built-in examples are displayed)
Expected behavior
Examples for all globally installed libraries and the "platform bundled" libraries of the currently selected board are always shown in the "Examples" menu.
Arduino IDE version
Not specified
Operating system
macOS 10.15.7
Additional context
The symptom reported here also occurs in #2640. However, #2640 only occurs after the initial installation of a boards platform, whereas in this report the symptom occurs after opening a new sketch, so they are distinct defects.
Additional reports
- Examples from Custom Libraries Renamed to Active Board #2249 (comment)
- https://forum.arduino.cc/t/ide-2-1-0-has-lost-library-examples/1138810/1
- https://forum.arduino.cc/t/ide-2-1-0-has-lost-library-examples/1138810/5
- https://forum.arduino.cc/t/user-review-of-ide-2-0-0-rc3/948177
- https://forum.arduino.cc/t/test-ide-2-0-rc2-extended-example-is-empty/935666
- https://forum.arduino.cc/t/examples-go-missing/965479
Workaround
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