Skip to content
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

"Sketchbook" menu only 1 folder deep #1185

Closed
3 tasks done
TomW1605 opened this issue Jul 14, 2022 · 10 comments · Fixed by #1814
Closed
3 tasks done

"Sketchbook" menu only 1 folder deep #1185

TomW1605 opened this issue Jul 14, 2022 · 10 comments · Fixed by #1814
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

@TomW1605
Copy link

Describe the problem

on macos when you got to the sketchbook from the menubar (File>Sketchbook) the menu only goes 1 folder deep. from there everything is compressed in the that folder with no structure to it.

To reproduce

  1. add a sketch to the sketchbook that is 3 folders deep (Arduino>Project>Subproject>Sketch)
  2. navegate to the folder in the menubar sketchbook
  3. it will show as Sketchbook>Project>Sktech

Expected behavior

it should show as Sketchbook>Project>Subproject>Sketch

Arduino IDE version

2.0.0-rc8

Operating system

macOS

Operating system version

10.15.7 (19H1519)

Additional context

No response

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
@TomW1605 TomW1605 added the type: imperfection Perceived defect in any part of project label Jul 14, 2022
@per1234
Copy link
Contributor

per1234 commented Jul 14, 2022

Hi @TomW1605. I'm happy to inform you that this bug is fixed: #1144

That fix was made after the release of the 2.0.0-rc8 version of the IDE you are using. It is available from the nightly build. The download links are listed here:

https://www.arduino.cc/en/software#nightly-builds

In the future, please make sure to test using the nightly build before submitting an issue in order to verify that it was not already fixed.

@per1234 per1234 closed this as not planned Won't fix, can't repro, duplicate, stale Jul 14, 2022
@per1234 per1234 added conclusion: invalid Issue/PR not valid topic: code Related to content of the project itself labels Jul 14, 2022
@per1234 per1234 self-assigned this Jul 14, 2022
@TomW1605
Copy link
Author

hi, i actualy did test the nighly when i got to the check box but forgot to go back to change the version in the issue

just downloaded version 2.0.0-rc8-nightly-20220713 and the issue still exists.

@per1234 per1234 reopened this Jul 14, 2022
@per1234 per1234 removed the conclusion: invalid Issue/PR not valid label Jul 14, 2022
@kittaakos kittaakos self-assigned this Jul 14, 2022
@kittaakos
Copy link
Contributor

I could reproduce it. Thanks for letting us know.

Java IDE:
Screen Shot 2022-07-14 at 15 02 16

IDE2:
Screen Shot 2022-07-14 at 15 02 25

@TomW1605
Copy link
Author

thanks.
some addiditonal info, if there are more sketches in "Project" they will show up at the same level as the sketches in subfolders.

@per1234 per1234 changed the title Mac menubar sketchbook only 1 folder deep "Sketchbook" menu only 1 folder deep Sep 20, 2022
@bperrybap
Copy link

This issue still exists in the 2.0 linux release.
IMO, the title of this issue is still a bit vague - at least to me.
i.e. it inst' that the menu only goes 1 directory deep, it is that it hides all the directories from the menu beyond the top level.

I would add that this issue does not exist in the folder/sketchbook view.
i.e. when you click on the folder icon to get the sketchbook view all the intermediate directories/sub-directories show up properly.
Not sure how these are implemented, but I would think they would be sharing some of the same code to make sure that they are handled the same way.

@TomW1605
Copy link
Author

i agree the title is a bit vauge but i wouldent say it hides all the directories beyond the top level, that implies that only the sketches in the top folder are shown, when it is actualy just shuving all the sketches to the top. not sure what a better title would be though.

@bperrybap
Copy link

bperrybap commented Oct 24, 2022

I agree that getting a title for the issue that is not too long is difficult.
I guess the wording I used is ambiguous given the readers assumptions.
I was assuming just what it said, it hides all the directories from the menu, not that it hides the sketches from the menu.

@drachezoil
Copy link

drachezoil commented Nov 8, 2022

Same problem here with 2.0.1 release on windows
only through the "File->Sketchbook" menu, the side pane "Sketchbook" work as expected
displaying:

sketchbook/
├──project1/
│  └── version1A
│  └── version1B
│  └── version2A
│  └── version2B

instead of:

sketchbook/
├──project1/
│  └── CodeA/
│      └── version1A
│      └── version2A
│  └── CodeB/
│      └── version1B
│      └── version2B

seems to have been "solve" with the merge #198 but maybe only for the example sub menu

@craig-james-author
Copy link

This is still not working as of right now (Arduino IDE 2.0.3-nightly-20221227). I have a "test" subdirectory that should appear as a sub-menu. Instead, all of the sketches in the subdirectory are "flattened" into the "sketches" menu. See attached screenshot.
arduino-sketch-hierarchy-missing

kittaakos pushed a commit that referenced this issue Jan 10, 2023
Closes #1185

Signed-off-by: Akos Kitta <a.kitta@arduino.cc>
kittaakos pushed a commit that referenced this issue Jan 11, 2023
Closes #1185

Signed-off-by: Akos Kitta <a.kitta@arduino.cc>
kittaakos pushed a commit that referenced this issue Jan 11, 2023
Closes #1185

Signed-off-by: Akos Kitta <a.kitta@arduino.cc>
kittaakos pushed a commit that referenced this issue Jan 11, 2023
Closes #1185

Signed-off-by: Akos Kitta <a.kitta@arduino.cc>
kittaakos pushed a commit that referenced this issue Jan 17, 2023
Closes #1185

Signed-off-by: Akos Kitta <a.kitta@arduino.cc>
@per1234 per1234 added the conclusion: resolved Issue was resolved label Jan 17, 2023
@Papirrruqui
Copy link

Hi to every one. Thanks for resolving the problem... But how do I fix the problem on my PC

@arduino arduino locked as resolved and limited conversation to collaborators Feb 20, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
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.

7 participants