bjarchi
Posts: 5
Joined: Sun Oct 29, 2017 4:01 pm

[FIXED] incorrect file saved (overwritten)

Summary:
After switching from one factory file to another using the 'recent factory files' menu, under certain conditions Simplify3d will save subsequent changes to the open factory file under the name of the previous factory file, overwriting its contents without prompting the user.

Platform:
Simplify3d 4.0.0 on MacOS 10.12.6 (Sierra). Untested on other platforms / versions.

Prerequisites:
2 factory files - call them factory_a and factory_b - with at least factory_b in file->'recent factory files' menu

Steps to reproduce:
Open factory_a, and make some change that causes SImplify to recognize that the file has changed (e.g., change some process setting(s)). WITHOUT SAVING, go to file->'recent factory files' and select factory_b. Simplify3d will ask if you want to save your current file before opening the new one. Select yes, and save it as factory_a (choose replace when prompted).

Simplify3d will then save factory_a (I presume - haven't verified) and open factory_b. Make some changes to factory_b, then save it using the keyboard shortcut (cmd-s).

Expected behavior:
Simplify3d should save the open file as factory_b

Observed behavior:
Simplify3d saves the open file (modified factory_b) as factory_a, overwriting the previous file without prompting. Perhaps some bug in the handling of current file name after a file switch w/ prompted save.
gearsawe
Posts: 233
Joined: Sun Sep 10, 2017 11:06 pm

Re: Bug: incorrect file saved (overwritten)

This one has bitten me more times than can count. This is what I found:

1. Create a new file add a process, import "A.STL" and save factory file as A
2. Remove the "A" model from the workspace Import "B.STL" and save as "B" factory file.
3. Open "A" factory file.
4. make a change to the process for the "A" file.
5. Note you are in file "A". Click File>>Recent Factory Files and choose "B".
6. When option to save changes open select Yes.
7. Expect current A file to just save and open B. But a Save As dialog box opens with the name automatically filled in as B, not A which is the current factory. If anything would expect the current factory name to be A.
8. Without selecting the current file you just click Save thinking you are saving the current file.
9. choose yes again thinking you are over writing the current A file. It will overwrite B with the content of A then B opens with the contents of A.
You have now just lost your work for B!

All software I have ever used will just ask if I want to save changes to the current file when selecting recent. If yes the file is saved as the current name and then the file chosen in recent is opened. with S3D why does the save as dialog open with the name of the chosen recent name and not the file currently being worked on?

Yes you could say read the dialog but sometime when you are working with part numbers and such, it can be difficult to notice a small difference in the name of a file which switching between files quickly. Also not this same thing happens with the normal open if you made changes to an existing file. I would expect the message "would you like to save changes" to just save the current file with the current name and the open dialog box to open not the save as dialog box. this is vert confusing.
Attachments
B.STL
(53.01 KiB) Downloaded 198 times
A.STL
(2.23 KiB) Downloaded 202 times
horst.w
Posts: 861
Joined: Fri Oct 17, 2014 5:00 pm

Re: Bug: incorrect file saved (overwritten)

I often use EDIT > Open Factory ... with files from this or other forums.
I had never any problems with my own factory files when re-open them later. Ok, I use only the option EDIT > Save As ... also when not needed, perhaps that makes the difference ... :? Win 7 Prof 64 is always sending a message: ... file name is existing > do you want to overwrite it ...
An other thing is the suggested file name, it is always based on the name of the first opened object and that can cause confusions.

horst.w
GER
gearsawe
Posts: 233
Joined: Sun Sep 10, 2017 11:06 pm

Re: Bug: incorrect file saved (overwritten)

this was fixed in 4.0.1
goto your account dash to download latest.
https://cloud.simplify3d.com/account/dashboard
S3D-Jason
Posts: 1608
Joined: Sun May 31, 2015 6:01 am

Re: Bug: incorrect file saved (overwritten)

Just to confirm, this issue has now been fixed in Version 4.0.1. Repeating the steps listed above now works correctly and has the expected result.

Thank you for the detailed report and for bringing it to our attention!

Return to “Troubleshooting and Bug Reports”