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

If Sketchbook is empty, no Sketchbook menu item is present under File #569

Closed
3 tasks done
ubidefeo opened this issue Oct 22, 2021 · 0 comments · Fixed by #1774
Closed
3 tasks done

If Sketchbook is empty, no Sketchbook menu item is present under File #569

ubidefeo opened this issue Oct 22, 2021 · 0 comments · Fixed by #1774
Assignees
Labels
conclusion: resolved Issue was resolved criticality: medium Of moderate impact priority: medium Resolution is a medium priority topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project

Comments

@ubidefeo
Copy link

ubidefeo commented Oct 22, 2021

Describe the problem

This happens in two occurrences:

  1. If you have a brand new installation there is no Sketchbook item under File
  2. If you point to an empty folder as your Sketchbook location and restart the IDE without saving a single Sketch, when you relaunch the IDE you can observe the same behaviour

To reproduce

  1. Select File > Preferences from the Arduino IDE menus.
  2. Change the "Sketchbook location preference to some folder that does not contain sketches.
  3. Click the OK button.
  4. Select File > New from the Arduino IDE menus.
    This is necessary to workaround a bug where the IDE doesn't update the menus after the preference change: IDE UI does not reflect changed "Sketchbook location" preference #796
  5. Select File from the Arduino IDE menus.

🐛 There is no File > Sketchbook menu:

image

Screenshot 2021-10-22 at 10.58.13.png

Expected behavior

The "Sketchbook" item should always be there even if empty, as it works in Arduino IDE 1.8.x:

image

Arduino IDE version

2.0.0 Beta 12

Operating system

macOS (probably any OS)

Operating system version

Big Sur

Additional context

Related: #655

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
@ubidefeo ubidefeo added priority: high Resolution is a high priority topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project labels Oct 22, 2021
@rsora rsora added criticality: high Of high impact and removed priority: high Resolution is a high priority labels Nov 2, 2021
@ubidefeo ubidefeo added priority: medium Resolution is a medium priority criticality: medium Of moderate impact and removed criticality: high Of high impact labels Nov 4, 2021
@kittaakos kittaakos assigned kittaakos and unassigned AlbyIanna Dec 14, 2022
@kittaakos kittaakos added status: in progress Work is in progress on this and removed status: in progress Work is in progress on this labels Dec 15, 2022
kittaakos pushed a commit that referenced this issue Dec 21, 2022
Closes #1764
Closes #796
Closes #569
Closes #655

Signed-off-by: Akos Kitta <a.kitta@arduino.cc>
@kittaakos kittaakos added the conclusion: resolved Issue was resolved label Dec 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
conclusion: resolved Issue was resolved criticality: medium Of moderate impact priority: medium Resolution is a medium priority 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.

4 participants