Skip to content

[MAUI][dotnet8][Windows] - A blink occurs when opening a new window #26849

@rodirigos

Description

@rodirigos

Description

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.

Image

Steps to Reproduce

1 - Create multiple windows using Application.Current.OpenWindow()
2 - See the blink before opening the content

To check a reprodution, just open this application here
https://github.com/rodirigos/MauiBlinkingTest

It is also happening in Winui directly, but the blink is way faster
microsoft/microsoft-ui-xaml#10259

Link to public reproduction project repository

https://github.com/rodirigos/MauiBlinkingTest
It is also happening directly in WinUI
https://github.com/rodirigos/NewWindowTest

Version with bug

9.0.10 SR1

Is this a regression from previous behavior?

Yes, this used to work in .NET MAUI

Last version that worked well

7.0.101

Affected platforms

Windows

Affected platform versions

No response

Did you find any workaround?

No response

Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-controls-windowWindowi/regressionThis issue described a confirmed regression on a currently supported versionpartner/winuiWinUI / Project Reunionplatform/windowsregressed-in-9.0.0s/triagedIssue has been revieweds/verifiedVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions