Skip to content

If autosave is on, user is not prompted to "save as..." when closing a newly created sketch or edited example. #595

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

Closed
91volt opened this issue Nov 4, 2021 · 0 comments · Fixed by #893
Assignees
Labels
conclusion: resolved Issue was resolved criticality: high Of high impact 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

Comments

@91volt
Copy link

91volt commented Nov 4, 2021

Describe the bug
If autosave is enabled, when closing for the first time edited examples and newly created sketches the user is not prompted to 'save as...', as consequence is not aware of the location of the sketch and may think he lost his work (when actually is stored in temporary folder).

To Reproduce
Steps to reproduce the behavior (closing from the interface top bar's red quitting icon):

  1. Go to 'Arduino IDE (macOS) / File (windowsOS)'
  2. Click on 'Preferences'
  3. Enable 'auto save' clicking on the checkbox
  4. Go to 'File'
  5. Click on 'New sketch'
  6. Add some code
  7. Click the OS top bar's red quitting icon

Steps to reproduce the behavior (closing the whole Arduino IDE through top bar menu):

  1. Go to 'Arduino IDE (MacOS) / File (WindowsOS)'
  2. Click on 'Preferences'
  3. Enable 'auto save' clicking on the checkbox
  4. Go to 'File'
  5. Click on 'New sketch'
  6. Add some code
  7. Go to 'Arduino IDE (MacOS) / File (WindowsOS)'
  8. Click on 'Quit Arduino IDE (MacOS) / Quit (windowsOS)'

Steps to reproduce the behavior (closing the whole Arduino IDE through shortcut):

  1. Go to 'Arduino IDE (MacOS) / File (WindowsOS)'
  2. Click on 'Preferences'
  3. Enable 'auto save' clicking on the checkbox
  4. Go to 'File'
  5. Click on 'New sketch'
  6. Add some code
  7. Press key combination 'CMD / Ctrl + Q'

Expected behavior
When autosave is enabled, when closing for the first time a newly created sketch or edited example I expect the IDE to warn me with a dialog box with "Save as...", "don't save", "cancel" call to actions.

Screenshots
AutosaveON_examplesketch_closing

Desktop (please complete the following information):

  • OS: All
  • Version: 2.0.0 beta12

Additional context
The expected behavior is working when closing the workspace through shortcut 'CMD / Ctrl + W' or going to 'File' and clicking 'Close'.

@91volt 91volt 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 criticality: high Of high impact labels Nov 4, 2021
@fstasi fstasi assigned ubidefeo and unassigned fstasi Jan 25, 2022
@fstasi fstasi added this to the arduino-ide rc5 milestone Feb 28, 2022
@fstasi fstasi assigned AlbyIanna and msujew and unassigned ubidefeo and AlbyIanna Feb 28, 2022
@fstasi fstasi modified the milestones: arduino-ide rc5, arduino-ide rc6 Mar 24, 2022
@per1234 per1234 added the conclusion: resolved Issue was resolved label Jun 1, 2022
@per1234 per1234 mentioned this issue Jun 1, 2022
3 tasks
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: high Of high impact 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
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants