Sketchbook view can't handle more than two tree levels #1015
Labels
conclusion: resolved
Issue was resolved
priority: low
Resolution is a low priority
topic: code
Related to content of the project itself
type: imperfection
Perceived defect in any part of project
Describe the problem
The Arduino IDE's "Sketchbook" view allows the user to browse and open sketches in their sketchbook folder.
Users may find it useful to organize their sketches into subfolders of the sketchbook folder.
🐛 Sketches with a tree deeper than two levels are not displayed correctly and cannot be opened via the "Sketchbook" view.
To reproduce
ⓘ This is done for the demonstration that the sketch can't be opened via the "Sketchbook" view.
ⓘ The issue also occurs with this setting disabled, except one additional tree level is possible due to the sketch file not counting toward the limit.
🐛 The expansion results in SomeSubfolder/SomeSketch:
rather than the expected tree:
🐛 The sketch does not open.
Expected behavior
"Sketchbook" view supports any reasonable level of folder depth.
Arduino IDE version
2.0.0-rc6-snapshot-5fc30bd
Operating system
Windows, Ubuntu
Operating system version
Windows 10, Ubuntu 20.04
Additional context
I bisected the introduction of this issue to 1ae60ec (it does not occur when using the build for b8c718c).
The issue also affects the "Remote Sketchbook" view in the same way.
Issue checklist
The text was updated successfully, but these errors were encountered: