Skip to content

Non resizable window withouth title bar has border when updating to 1.6 #9978

@DCorrBECare

Description

@DCorrBECare

Describe the bug

With the 1.6 version i get a white border around a window that's not resizable.

Steps to reproduce the bug

Create a window with the following code:

Window window = new();
OverlappedPresenter presenter = OverlappedPresenter.Create();
presenter.IsResizable = false;
presenter.SetBorderAndTitleBar(false, false);
window.AppWindow.SetPresenter(presenter);
window.AppWindow.Show();

Expected behavior

There is no border around the window

Screenshots

Window1_5
Window1_6

NuGet package version

WinUI 3 - Windows App SDK 1.6.0: 1.6.240829007

Windows version

Windows 11 (22H2): Build 22621

Additional context

Works fine with WindowsAppSDK 1.5.240802000

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions