Skip to content

11.1.0 - Window position is incorrect when the SystemDecorations property is set to BorderOnly #16454

Closed
@pavelovcharov

Description

@pavelovcharov

Describe the bug

When you set the SystemDecorations property to BorderOnly, the window doesn't appear at the specified position, but with an offset

image

The window is shown correctly in version 11.0.11

To Reproduce

Clone the sample repository, build the solution and run it.

Expected behavior

Window should appear at the specified position

Avalonia version

11.1.0

OS

Windows

Additional context

In version 11.0.11, the actual position of the window also depends on the order in which the Position and SystemDecorations properties are set

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