-
-
Notifications
You must be signed in to change notification settings - Fork 21.4k
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
Splash screen minimum display time does not work properly on macOS #68798
Comments
If you have access to Windows or Linux machines, can you reproduce the issue there? Splash screen drawing is OS-specific. |
Unfortunately I do not have other operating systems available at the moment. |
Not reproducible on Ubuntu 20.04.4 LTS |
I get the same issue on macOS 13, Godot 4.0.beta7. I set the minimum_display_time to try out and see how a custom boot splash image would appear, but at least on macOS it seems that the wait time that property controls happens before the game window is displayed on screen like @bmercury described. It seems that this delay is happening in Lines 3062 to 3068 in 829d49b
|
I don't have access to macOS and don't know Godot core, but here's what I found. The boot splash delay occurs at the end of Lines 3062 to 3068 in a7937fe
This function is called in the corresponding Detailsgodot/platform/macos/godot_main_macos.mm Lines 77 to 89 in a7937fe
godot/platform/linuxbsd/godot_linuxbsd.cpp Lines 61 to 75 in a7937fe
godot/platform/windows/godot_windows.cpp Lines 164 to 181 in a7937fe
Inside which the Detailsgodot/platform/macos/os_macos.mm Lines 665 to 689 in a7937fe
godot/platform/linuxbsd/os_linuxbsd.cpp Lines 861 to 884 in a7937fe
godot/platform/windows/os_windows.cpp Lines 1265 to 1280 in a7937fe
Lines 59 to 65 in a7937fe
I guess there is some difference between platforms in if (Main::start()) {
os.run();
} That is, on MacOS something is called in |
Godot version
4.0 beta 5
System information
MacOS Monterey M1
Issue description
Setting the "minimum display time" parameter in project settings under Application>Boot splash does not show the custom image (nor the default one) for that amount of time. Instead when the app is run either from an editor or the project manager, it waits until that time is over and then splashes for a very short time (as if no custom time was set)
This happens when run from the editor.
This happens when run from the project manager.
Steps to reproduce
Minimal reproduction project
No response
The text was updated successfully, but these errors were encountered: