Skip to content

Show progress dialog when unzipping or duplicating project - #113066

Open
Nallebeorn wants to merge 1 commit into
godotengine:masterfrom
Nallebeorn:project-progress-bar
Open

Show progress dialog when unzipping or duplicating project#113066
Nallebeorn wants to merge 1 commit into
godotengine:masterfrom
Nallebeorn:project-progress-bar

Conversation

@Nallebeorn

@Nallebeorn Nallebeorn commented Nov 22, 2025

Copy link
Copy Markdown
Contributor

Closes godotengine/godot-proposals#13641.

Adds a progress bar when importing, installing, or duplicating a project and puts those file operations on a background thread. They're not cancellable.

This required a custom directory copy function to support progress-reporting. I based it mostly on DirAccess::copy_dir, but simplified, and adapted for a two-stage copy (first recursively find all files to be able to get the total file count and then copy them, it's similarish to EditorFileSystem::copy_directory).

Tested on Windows and Linux.

@Nallebeorn
Nallebeorn requested a review from a team November 22, 2025 18:36
@Chaosus Chaosus added this to the 4.x milestone Nov 22, 2025
Comment thread editor/project_manager/project_dialog.h Outdated
Comment thread editor/project_manager/project_dialog.h Outdated
Comment thread editor/project_manager/project_dialog.h Outdated
Comment thread editor/project_manager/project_dialog.cpp Outdated
Comment thread editor/project_manager/project_dialog.cpp Outdated
Comment thread editor/project_manager/project_dialog.cpp
Comment thread editor/project_manager/project_dialog.cpp Outdated
Comment thread editor/project_manager/project_dialog.cpp Outdated
Comment thread editor/project_manager/project_dialog.cpp Outdated
Comment thread editor/project_manager/project_dialog.cpp Outdated
@Nallebeorn
Nallebeorn force-pushed the project-progress-bar branch 2 times, most recently from 47e97be to 4b746a2 Compare November 24, 2025 19:23
@Repiteo
Repiteo requested a review from a team as a code owner February 17, 2026 20:10
@Nallebeorn
Nallebeorn force-pushed the project-progress-bar branch from 4b746a2 to fc8e5da Compare July 27, 2026 21:44
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.

Display progress bar when duplicating or importing a project

3 participants