Skip to content

Window flashes white on launch on Windows #3625

@zeozeozeo

Description

@zeozeozeo

Describe the bug
This was previously fixed in #1802, but was reintroduced in commit 1571027.

To Reproduce
Steps to reproduce the behavior:

  1. Start app in debug or release mode
  2. Window flashes white for ~0.5 seconds

Expected behavior
No window flash on startup.

Screenshots
window-flash

Desktop (please complete the following information):

  • OS: Windows 10
  • Version 0.24.0

Additional context
Perhaps the is_first_frame check is broken, or the window is being created with set_visible(true) in the first place, when it should start invisible until all assets are loaded.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething is brokeneframeRelates to epi and eframeegui-winitporblems related to winit

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions