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

Updating from 4.2 to 4.3 overwrites Settings #94011

Closed
inhalt120g opened this issue Jul 6, 2024 · 2 comments
Closed

Updating from 4.2 to 4.3 overwrites Settings #94011

inhalt120g opened this issue Jul 6, 2024 · 2 comments

Comments

@inhalt120g
Copy link

inhalt120g commented Jul 6, 2024

Tested versions

v4.3.beta2.official [b75f048]

System information

Newest macOS

Issue description

I was using 4.2 until recently, and switched to v4.3.beta2.official [b75f048] a few weeks ago. Usually, such upgrades would carry over all the settings from old Godot builds, but this time at least one setting was overwritten with new build (I have the "Text Editor / Completion / Add Type hints" set to "off", but the new build set it to "on").

There might be other settings that got overwritten (this one was easy to spot).

Edit 1: Another thing that got overwritten is at least one of the custom theme colors, for example now I noticed orange color is used in some places.

Edit 2: …and some keyboard shortcuts got "fixed" too :PPPP

Steps to reproduce

Download the newest build, overwrite the old build in the Apps directory? Not sure. This never happened when I was upgrading from 4.1 to later builds.

Minimal reproduction project (MRP)

v4.3.beta2.official [b75f048]

@Calinou
Copy link
Member

Calinou commented Jul 7, 2024

but this time at least one setting was overwritten with new build (I have the "Text Editor / Completion / Add Type hints" set to "off", but the new build set it to "on").

This is because default values are not saved to editor settings. Since the default was previously false and it became true in #88026, it became true in your installation because your editor_settings-4.tres file previously did not have a setting stored for the Add Type Hints editor setting (unless it was true).

That said, this won't happen in the future anymore because editor settings are versioned per minor editor version since 4.3: #90875

@inhalt120g
Copy link
Author

I understand the explanation and am happy it's not supposed to happen in the future, it's a nuisance. Thank you for linking the relevant issues and providing the info!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants