"Open Recent" menu missing after recent sketch is deleted #1596
Labels
conclusion: resolved
Issue was resolved
topic: code
Related to content of the project itself
type: imperfection
Perceived defect in any part of project
Describe the problem
Arduino IDE has a File > Open Recent menu that lists the most recently opened sketches for quick access by the user.
🐛 If a recently opened sketch is deleted, Open Recent is no longer shown under the File menu.
To reproduce
🙂 "FooSketch" and any other recently opened sketches are listed (unless you are already affected by the bug).
🐛 There is no Open Recent menu item. The only way to recover the IDE from this state is to manually delete or remove the deleted sketch entry from the
~/.arduinoIDE/recent-sketches.json
file.Expected behavior
Open Recent menu is still functional after deletion of recently opened sketch.
Arduino IDE version
2.0.1
Operating system
Windows
Operating system version
10
Additional context
I bisected the regression to 2b2463b / #1563 (does not occur when using the tester build for the previous commit 0773c39)
I see this in the logs on IDE startup:
Originally reported by @UKHeliBob at https://forum.arduino.cc/t/2-0-1-no-open-recent-menu-item/1046905
Issue checklist
The text was updated successfully, but these errors were encountered: