Skip to content
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

Game Icon shows as default Windows icon, missing title and white window contents when game starts #82265

Open
LxeC opened this issue Sep 24, 2023 · 2 comments

Comments

@LxeC
Copy link

LxeC commented Sep 24, 2023

Godot version

4.1.1

System information

Windows

Issue description

When the game starts, the default Windows icon shows up and the window title is blank for a few seconds and the window contents are white which looks non-professional.

The gif below demonstrates the problem:
iconglitch

I didn't use a splash screen when I was exporting the game. Not sure if this is because of that but I've seen it happen on the Godot Editor too.
I feel the solution to this would be for the game window icon and title to be set first thing, and not to be visible until it is ready (to avoid the white screen flickering).

Note: I didn't test other platforms except for Windows, something similar might be happening to other platforms as well.

Steps to reproduce

Export a Windows game. I did not use a splash screen.

Minimal reproduction project

N/A

@LxeC LxeC changed the title Game Icon shows as default Windows icon when game starts Game Icon shows as default Windows icon, missing title and white window contents when game starts Sep 24, 2023
@Calinou
Copy link
Member

Calinou commented Sep 24, 2023

cc @RandomShaper, as they might have an idea about this since I recall them working on preventing window flashing.

@RandomShaper
Copy link
Member

Regarding the icon, I think that's because the DisplayServer is instructed to set it too late? Maybe easy to fix...

Regarding the flash of white, the first color Godot uses at startup for the background of the window comes from application/boot_splash/bg_color. @LxeC, maybe you have that one set to white?

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

No branches or pull requests

3 participants