Cura: "Delete all configuration" in uninstaller deletes materials and settings

Created on 25 Aug 2020  路  19Comments  路  Source: Ultimaker/Cura

Application version
4.7

Platform
Win 10 x64

Reproduction steps

  1. Install 4.6
  2. Setup your materials and settings
  3. "Upgrade" to 4.7
  4. Everything gone

Expected results
Cura should be able to update itself without losing presets. Upgrade path is unclear. Should not ask to uninstall previous but simply upgrade itself!

Bug

Most helpful comment

Settings are no data?

All 19 comments

When you install a new version of Cura, the installer asks you (for each older version it finds) if you want to uninstall older versions. For each older version it uninstalls, it asks you if you want to remove all settings data.

And that does not imply my data.

Settings are no data?

And UPGRADING does not mean download full package, fully uninstall and install new version in a new folder.
That's just .... installing a new version in a new folder.
Why would I lose my data when upgrading any software? Why would I keep a previous version installed when I chose to UPGRADE.
Also, software settings can change from one version to the other. Many software ask to keep these settings (THE ONE CAN COME WITH THE SOFTWARE - NOT THE ONES I CREATE WHICH AS USUALLY STORED IN MY PERSONAL FOLDERS AND NOT THE PROGRAM FOLDER).

Maybe the popup should say NEW VERSION AVAILABLE and add a notice that there no NO UPGRADE IN PLACE, and maybe you should store personal settings in c:\Users\me\cura or even c:\Users\me\documents\cura and never remove it.

When you do tell it to leave your presets/profiles you get this when you open 4.7
image
Which wants to delete all of the stuff anyways.

The possibility of having different cura versions at once is golden.

I upgraded my cura with creality machines with the pattern of:
4.6.2- > 4.7 beta -> 4.7
always selecting to uninstall the older version but keeping settings and no profile is damaged on my side.

Also, software settings can change from one version to the other. Many software ask to keep these settings (THE ONE CAN COME WITH THE SOFTWARE - NOT THE ONES I CREATE WHICH AS USUALLY STORED IN MY PERSONAL FOLDERS AND NOT THE PROGRAM FOLDER).

That is _exactly_ what Cura does. It asks you if you want to uninstall the previous version and if it wants you to delete any and all old data. It's a bit like with uninstalling a game and it asks you to delete your save data. If you press yes, it will simply do ask you asked for and well, delete the data.

I understand it's very frustrating that you accidentally deleted all your data, but the installer is quite literally following the default configuration for installers.

When you do tell it to leave your presets/profiles you get this when you open 4.7
image
Which wants to delete all of the stuff anyways.

That is a different issue. Could you please create a new issue for that and fill in the bug template?

When you do tell it to leave your presets/profiles you get this when you open 4.7
image
Which wants to delete all of the stuff anyways.

That is a different issue. Could you please create a new issue for that and fill in the bug template?

I had the same issue. Previous Cura updates have not destroyed all of my previous custom printer profiles and settings but this upgrade to 4.7 does, so it appears to be corrupting them during the upgrade.

When you do tell it to leave your presets/profiles you get this when you open 4.7
image
Which wants to delete all of the stuff anyways.

That is a different issue. Could you please create a new issue for that and fill in the bug template?

I had the same issue. Previous Cura updates have not destroyed all of my previous custom printer profiles and settings but this upgrade to 4.7 does, so it appears to be corrupting them during the upgrade.

Please fill in the bug template. If you don't, we can't do anything for you.

So this seems to be a misunderstanding of what the "Do you want to remove all your configuration files?" pop-up does in the uninstaller.

And that does not imply my data.

What data would you expect it to delete then?

Since there are so many reports of people making the wrong decision here, it could be a good idea to make the default NOT to delete the configuration files.

If I read the NSIS template correctly, it's a pop-up message, not a checkbox with a default.
I'd need to start up a Windows computer to verify my claim though. Maybe I'm misreading it.

You are right, it is not a checkbox. The "Yes" (nuke my configuration!) choice is highlighted by default. The safer option would be to have the "No" (don't hurt my files) choice be the default.

Many people just press enter on all dialogs when installing applications, without reading. It is often recommended in styleguides to have the default option be the safer option.

@Ghostkeeper

What data would you expect it to delete then?

Everything related to display preferences, window sizes etc. Everything about the program that is a setting already there when I install the program. Everything that I add as personal setting that does not exist once the program is first installed, belongs to the user and should be saved in his documents outside of the program folder.

But the display preferences, window sizes, etc. also don't exist yet once the profile is first installed. There is indeed a default for it, if that's what you mean, but there's also a default for the Infill Density setting of course.

We could consider making it reset just the preferences and not the slicing settings. But I don't really see a use case for someone wanting to reset their preferences but not the slicing settings. The main use cases for removing all configuration data is to leave a cleaner system and to revert to factory defaults, but neither of these are achieved if you leave the slicing settings intact.

The wording of the dialog could be changed to emphasize that removing the configuration data removes ALL CUSTOM PROFILES and CANNOT BE UNDONE possibly in all caps because apparently it needs to be spoken loudly for people to notice it.

@Ghostkeeper the issue is rather simple, you are trying to complicate it, so let me rephrase one more time to make it even simpler.
Everything created from "create profile from current settings" is user data and should be saved outside the program folder like in documents. Rather simple no?

I think that "flipping" the decision and improve the wording is a good way to do it.

Not giving any option to delete those profiles is also a bit of a weird one, since these folders can get pretty big (especially if you download a lot of plugins). I would expect that a program deletes all the data it generated without me explicitly saving it somewhere

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Nemernemer picture Nemernemer  路  3Comments

StanislavJochman picture StanislavJochman  路  3Comments

DamianSepczuk picture DamianSepczuk  路  3Comments

mnswamp1 picture mnswamp1  路  3Comments

probonopd picture probonopd  路  3Comments