-
-
Notifications
You must be signed in to change notification settings - Fork 21.5k
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
ThreadedProgressDialog #23391
Comments
We already have |
Example case: converting a scene to one mesh instance.
|
I don't see a BackgroundProgress in the latest docs on https://godot.readthedocs.io/en/latest/index.html |
I'll use the term exclusive dialog to describe a dialog that captures all input, hence it "prevents the editor from being used". What we have right now:
What we need: An equivalent of |
Design 2 An exclusive dialog ("prevents the editor from being used"):
A non-exclusive dialog ("does not prevent the editor from being used"):
The desired implementation will take the non-exclusive dialog and make it exclusive. |
To allow threaded asset import, every instance of ProgressDialog should be replaced by the exclusive progress dialog that doesn't block the main thread. Edit: Another part is to solve the dependencies of assets, but that's a different issue. |
What's the status on this now that #36640 was merged? |
I have not looked into this. Feel free to take this task. |
I have forgotten about issue. I think a new issue should be opening in the proposals for it. |
I think this can be considered implemented by #36640. |
@akien-mga This is about the progress dialog, not resource loading. I don't see the relation between with that PR, unless I'm missing something. |
Then this should be moved to a proposal on https://github.com/godotengine/godot-proposals, which can now use the threaded resource loader for a proposed implementation. |
Godot version:
master
Issue description:
Create a threaded progress dialog with 2 modes / 4 combinations.
@neikeq Design review?
<neikeq> yes, i want it to block in this case
<neikeq> reduz: what's the use of BackgroundProgress if it does not block? how is it displayed in the UI?
<reduz> i think on the top right region a small progress is displayed
<reduz> its for background processes, Filesystem Scan uses it
<reduz> not very useful in general, though
<reduz> i guess what you want is a ProgressDialog that does not block and can be used from a thread
<reduz> maybe ThreadedProgressDialog
The text was updated successfully, but these errors were encountered: