Describe the problem or limitation you are having in your project
This has two downsides:
EditorProgress is notoriously slow to spawn, update and clean up. This has a non-negligible impact when running a project, especially in simpler projects where the progress dialog spawning represents a significant amount of time (200 ms or more).
Displaying a progress dialog for very short amounts of time can be considered distracting. We should aim to remove unnecessary distractions when possible.
The Save Scene action cannot be canceled, so there is no point in displaying a progress bar for such a short action.
Describe the feature / enhancement and how it helps to overcome the problem or limitation
Don't show a progress bar when saving a scene if it takes less than 1 second. Only display the EditorProgress dialog if scene saving started more than 1 second ago. This is similar to the recommendation made by Apple's human interface guidelines.
Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams
Describe the project you are working on
The Godot editor :slightly_smiling_face:
Describe the problem or limitation you are having in your project
This has two downsides:
The Save Scene action cannot be canceled, so there is no point in displaying a progress bar for such a short action.
Describe the feature / enhancement and how it helps to overcome the problem or limitation
Don't show a progress bar when saving a scene if it takes less than 1 second. Only display the EditorProgress dialog if scene saving started more than 1 second ago. This is similar to the recommendation made by Apple's human interface guidelines.
Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams
Salvage https://github.com/godotengine/godot/pull/14891 :slightly_smiling_face:
If this enhancement will not be used often, can it be worked around with a few lines of script?
No, as EditorProgress is core editor functionality.
Is there a reason why this should be core and not an add-on in the asset library?
EditorProgress is core editor functionality – it's behavior can't be changed with an add-on.