microsoft / microsoft/microsoft-ui-xaml

[WinUI][dotnet8] - New window blinks when loading a content.

Open
#10,259 27 comments 8 reactions 0 assignees View on GitHub
area-Windowing bug team-Core
Dominant language
C++
Stars
8.4k
Forks
942
Avg merge
2d 7h
Merged PRs (30d)
105

Description

### Describe the bug

In .NET 7, windows wait to render the content before opening. In .NET 8 and later, an unintended flicker occurs while loading this content. This flicker comes with a default background. It also occurs using MAUI.

### Steps to reproduce the bug

1 - Create multiple windows with some content and an alternative background color.

### Expected behavior

It should open like in dotnet7, appearing all the window with a rendered content. (not a flickering before opening).

### Screenshots

![Image](https://github.com/user-attachments/assets/71b4bd7e-011e-41ec-a9c6-a688daf80f07)

### NuGet package version

None

### Windows version

_No response_

### Additional context

_No response_

Contributor guide

Open the contributing guide

Research direction

The issue names no repository file or test. First reproduce the multiple-window case with content and an alternative background on .NET 8 or later, then compare it with .NET 7; done means the window opens with rendered content and no default-background flicker.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.