Skip to content

Set default project path where a project was last created#99790

Open
KoBeWi wants to merge 1 commit into
godotengine:masterfrom
KoBeWi:persistence
Open

Set default project path where a project was last created#99790
KoBeWi wants to merge 1 commit into
godotengine:masterfrom
KoBeWi:persistence

Conversation

@KoBeWi
Copy link
Copy Markdown
Member

@KoBeWi KoBeWi commented Nov 28, 2024

@KoBeWi KoBeWi requested a review from a team as a code owner November 28, 2024 14:09
@KoBeWi KoBeWi added this to the 4.x milestone Nov 28, 2024
@akien-mga
Copy link
Copy Markdown
Member

See godotengine/godot-proposals#1312 (comment), I don't think this is the right approach.

@KoBeWi
Copy link
Copy Markdown
Member Author

KoBeWi commented Dec 21, 2024

I added a checkbox:
image
Though it needs a better place.

Changed default path to empty string. The checkbox will be automatically enabled if the path is empty.

@KoBeWi
Copy link
Copy Markdown
Member Author

KoBeWi commented Feb 25, 2026

As discussed on chat, I changed the path setting to be hidden.

Note that, since the setting was renamed, the old path is going to be lost when upgrading project. #114971 adds necessary compatibility methods to handle this, I can reuse them once it gets merged.

@groud
Copy link
Copy Markdown
Member

groud commented Feb 25, 2026

As I mentioned in the chat, I'm in favor of making it simpler, and register the last used path all the time instead of making it an option via a checkbox. I'm in favor of a simpler UI, removing (arguably) the less useful options whenever possible.

@KoBeWi KoBeWi requested a review from a team as a code owner February 25, 2026 12:17
@KoBeWi
Copy link
Copy Markdown
Member Author

KoBeWi commented Feb 25, 2026

I'm not sure about removing the checkbox, although maybe it's less useful if the setting is not exposed 🤔

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Persist the default project path depending on the location where a project was last created

3 participants