Skip to content

Window moves around when I resize it #17756

Closed
@tster123

Description

@tster123

Describe the bug

When I resize an Avalonia Window it moves around and doesn't resize properly (it does resize, but due to the movement the sizing jumps as well)

To Reproduce

  1. start with the Avalonia Control Gallery app (Windows Desktop). No code changes.
  2. Resize it.

Here is a video of the behavior: https://tsterpublic.blob.core.windows.net/public/Avalonia-WIndow-Resize-Bug.mp4

Expected behavior

Behave like any other Window.

Avalonia version

11.2.2

OS

Windows

Additional context

Windows 10

C:\repos\Avalonia [master]> git status
On branch master
Your branch is up to date with 'origin/master'.

nothing to commit, working tree clean
C:\repos\Avalonia [master]> git rev-parse HEAD
4c428d073d28afc1196aff7c60168db62754ef05
C:\repos\Avalonia [master]> git log -n 1
commit 4c428d073d28afc1196aff7c60168db62754ef05 (HEAD -> master, origin/master, origin/HEAD)
Author: Benedikt Stebner <[email protected]>
Date:   Mon Dec 9 07:52:07 2024 +0100
<snip>

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions