Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
pavelovcharov opened this issue Jul 25, 2024 · 0 comments · Fixed by #16608

Comments

@pavelovcharov
Copy link
Contributor

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

@pavelovcharov pavelovcharov changed the title Window position is incorrect when the SystemDecorations property is set to BorderOnly 11.1.0 - Window position is incorrect when the SystemDecorations property is set to BorderOnly Jul 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants