Dear Arduino Team,
I use 2.0.0 beta 4 for my current development.
I cannot reproduce the issue with sistematically steps, but it happened to me several times.
I did a lot of works, edit files, complie and upload and all il fine.
When I reopen the sketch It seems that I lost of my last development itereation and I need to search in user Temp folder for the last version of my sketch.
Now I check the timestamp and content of the file and when there are no matches I need to save with Ide a copy with another name.
Edit - I just download Beta 5, I will check this issue with new version and I will give feedback...
pert
April 16, 2021, 11:17pm
#2
Hi @ClaudioCas . Thanks for your valuable feedback on the beta Arduino IDE 2.x!
I have also noticed a similar issue, and reported it here:
opened 06:37PM - 10 Feb 21 UTC
closed 03:46PM - 10 Nov 21 UTC
topic: code
type: imperfection
criticality: high
**Describe the bug**
**File > Save** saves new sketches to the temporary folder… silently. The user will have trouble finding it later and the contents of the temporary folder may be subject to deletion.
**To Reproduce**
Steps to reproduce the behavior:
1. **File > New**
2. **File > Save**
**Expected behavior**
**File > Save** on a new sketch should open the "Save as..." dialog. This is how the Java IDE works.
**Screenshots**
If applicable, add screenshots to help explain your problem.
**Desktop (please complete the following information):**
- OS: Windows 10
- Version: 0.1.4
Date: 2021-02-10T12:24:17.658Z
CLI Version: 0.15.2 alpha [0d4cb150]
I see there is another report which might be related:
opened 08:11AM - 02 Apr 21 UTC
closed 03:44PM - 14 Apr 21 UTC
priority: high
conclusion: resolved
topic: code
type: imperfection
**Describe the bug**
If I need to add files to my Sketch I need quickly find th… e folder and see my files,
but the **Sketch > Show Sketch Folder** opens the temporary directory, hence every change is lost.
i.e.: the **Recent** submenu does not update with the open Sketch
This only seems to happen when Sketch is open via **File > Sketchbook**.
The same file reports the correct absolute path if open via **File > Open**
**To Reproduce**
Steps to reproduce the behavior:
1. Open a pre-existing Sketch (or save a new one)
2. Click on **Sketch > Show Sketch Folder**
3. Look at the containing tree
4. You will see that you got directed to the temporary folder, not to the one inside the Sketchbook
5. This seems to also prevent the **File > Open Recent ** not to have updated content even after a restart
**Expected behavior**
Pointing to the content of my Sketch inside the Sketchbook folder and having the **File > Open Recent** correctly show the file I last opened.
**Screenshots**
<img width="544" alt="Screenshot 2021-04-02 at 10 07 37" src="https://user-images.githubusercontent.com/1894487/113396254-85446c80-939b-11eb-9558-26e8c56639cc.png">
<img width="612" alt="Screenshot 2021-04-02 at 10 07 50" src="https://user-images.githubusercontent.com/1894487/113396262-883f5d00-939b-11eb-8678-7e8816449c53.png">
<img width="737" alt="Screenshot 2021-04-02 at 10 08 04" src="https://user-images.githubusercontent.com/1894487/113396267-8aa1b700-939b-11eb-9413-940a455f3b57.png">
<img width="720" alt="Screenshot 2021-04-02 at 10 08 15" src="https://user-images.githubusercontent.com/1894487/113396272-8d041100-939b-11eb-9aa4-4e01fbd5cdac.png">
<img width="673" alt="Screenshot 2021-04-02 at 10 08 28" src="https://user-images.githubusercontent.com/1894487/113396284-8f666b00-939b-11eb-8e73-6922e15a4e8a.png">
<img width="559" alt="Screenshot 2021-04-02 at 10 08 48" src="https://user-images.githubusercontent.com/1894487/113396290-92615b80-939b-11eb-99bf-b3dd1342f818.png">
**Desktop (please complete the following information):**
- OS: Mac OS 11.2.3 Big Sur
- Version: 2.0.0-beta.4-nightly.20210402
Unlike mine, that one has been marked fixed and that fix was released in Arduino IDE 2.0.0-beta.5. So hopefully this means that updating to 2.0.0-beta.5 will solve your problem.
Thanks Pert for your kind reply.
I'm testing the new beta and seems works great with autosaves at the moment.
Well done!
pert
April 17, 2021, 11:50am
#4
Yay! I'm very glad to hear this. Please let us know if you encounter any more problems.
system
Closed
August 15, 2021, 11:50am
#5
This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.