DioxusLabs / DioxusLabs/blitz

Garbage/Uninitialized content is displayed at startup before read display

Open
#374 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
4.1k
Forks
203
Avg merge
8h 58m
Merged PRs (30d)
112

Description

Hi,

When I run `cargo run -p wgpu_texture --release`, I found that there is a bug at the startup time of the example project

https://github.com/user-attachments/assets/29d51a88-77b7-4247-8c15-1a3103b270a0

from video time 00:00 to 00:03 (or stopwarth time 05:49.976 -> 05:50.319), the blitz windows is displayed but its content is displaying some garbage / or uninitialized content (the content is actually from my second monitor), and that display will continue for about **400ms**. (from the stopwatch page's counter)

I think this is a bug, the expected behavior should be, the window is displayed, at the duration when wgpu is not ready, it should display white/black or theme color when set / or splash picture if implemented.

The bug is recorded on Ubuntu 24.04.

When I do the same test on Windows, the Window content is white during wpgu initialization.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.